DHI-jv45-h2yr-7tpp-jydy

Source
https://scout.docker.com/v/DHI-jv45-h2yr-7tpp-jydy
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-jv45-h2yr-7tpp-jydy
Upstream
Published
2026-11-19T21:41:00Z
Modified
2026-11-28T06:24:55Z
Severity
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
To allow builds of Python to be run from an in-tree layout (rather than
Details

To allow builds of Python to be run from an in-tree layout (rather than an installed file layout), the VPATH variable is defined at build time and used to locate certain landmarks - specifically, Modules/setup.local. When this landmark is found relative to VPATH relative to the executable, Python assumes it is running in a source tree and generates a different default sys.path. This code remains in release builds, so that release-ready builds can be built in-tree.

On Windows, since builds are written to 'PCbuild/', the value of VPATH is set to '....', which results in a landmark of '....\Modules\setup.local'. This path is outside the install directory of Python, and may have different permissions, potentially allowing a low-privilege user to create the landmark and an alternative Lib folder that will be discovered by an otherwise restricted install.

Such a setup occurs with the legacy default install location for all users (in the now superseded EXE installer), due to how Windows allows all users to create folders in the root directory of their OS drive.

Our recommended mitigation on Windows is to migrate away from the legacy installer and use the new Python install manager to install for the current user. Installs where the directory two levels above the Python installation directory have equivalent permissions are unaffected (in general, a per-user install cannot be modified at all by other users, removing any escalation of privilege risk, and could be directly modified by a privileged user, making the potential tampering irrelevant). Alternative mitigations might include preemptively creating and restricting access to a Modules directory. Be aware that only 3.13 and 3.14 will receive updated legacy installers - earlier fixes are only provided as sources.

Platforms other than Windows allow VPATH to be overridden, but as they don't usually use a separated directory in the build for binaries, are unlikely to have a landmark reference outside of the install directory.

The landmark detection involving VPATH is a fallback for when a more specific landmark - .\pybuilddir.txt - is absent, and was included for compatibility. Future releases of Python will no longer include the fallback, and so builds will need to generate or preserve the pybuilddir.txt file in order to work in-tree. This landmark file has been generated on Windows since 3.11, and on other platforms for longer.

Database specific
{
    "coverage":  "partial",
    "coverage_exclusions":  [
        "legacy_package_image_owner"
    ]
}
References

Affected packages

Docker Hardened Images:Alpine:3.23
python-3.10

Package

Name
python-3.10
Purl
pkg:apk/dhi/python-3.10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.10.19-r0

Affected versions

3.*
3.10.19-r0
3.10.20-r0
3.10.20-r1
3.10.20-r2
3.10.20-r3
3.10.20-r4
3.10.20-r5
3.10.20-r6
3.10.20-r7
3.10.20-r8
3.10.20-r9
3.10.20-r10
3.10.20-r11
3.10.20-r12
3.10.20-r13
3.10.21-r1
3.10.21-r2
3.10.22-r0
3.10.22-r1
3.10.22-r2
3.10.22-r3
3.10.22-r4
3.10.22-r5
3.10.22-r6
3.10.22-r7
3.10.22-r8

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.11

Package

Name
python-3.11
Purl
pkg:apk/dhi/python-3.11

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.11.15-r10

Affected versions

3.*
3.11.14-r0
3.11.15-r0
3.11.15-r1
3.11.15-r2
3.11.15-r3
3.11.15-r4
3.11.15-r5
3.11.15-r6
3.11.15-r7
3.11.15-r8
3.11.15-r9

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.12

Package

Name
python-3.12
Purl
pkg:apk/dhi/python-3.12

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.12.13-r10

Affected versions

3.*
3.12.12-r0
3.12.13-r0
3.12.13-r1
3.12.13-r2
3.12.13-r3
3.12.13-r4
3.12.13-r5
3.12.13-r6
3.12.13-r7
3.12.13-r8
3.12.13-r9

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.13

Package

Name
python-3.13
Purl
pkg:apk/dhi/python-3.13

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.13.14-r1

Affected versions

3.*
3.13.12-r0
3.13.12-r1
3.13.13-r1
3.13.13-r2
3.13.13-r3
3.13.13-r4
3.13.13-r5
3.13.13-r6
3.13.13-r7
3.13.13-r8
3.13.13-r9
3.13.14-r0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.14

Package

Name
python-3.14
Purl
pkg:apk/dhi/python-3.14

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.14.6-r10

Affected versions

3.*
3.14.3-r0
3.14.3-r1
3.14.4-r1
3.14.4-r2
3.14.4-r3
3.14.4-r4
3.14.4-r5
3.14.4-r6
3.14.4-r7
3.14.5-r7
3.14.5-r8
3.14.5-r9
3.14.6-r9

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
Docker Hardened Images:Alpine:3.24
python-3.10

Package

Name
python-3.10
Purl
pkg:apk/dhi/python-3.10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.10.20-r0

Affected versions

3.*
3.10.20-r0
3.10.20-r1
3.10.20-r2
3.10.20-r3
3.10.20-r4
3.10.20-r5
3.10.21-r1
3.10.21-r2
3.10.22-r0
3.10.22-r1
3.10.22-r2
3.10.22-r3
3.10.22-r4
3.10.22-r5
3.10.22-r6
3.10.22-r7
3.10.22-r8

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.11

Package

Name
python-3.11
Purl
pkg:apk/dhi/python-3.11

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.11.15-r2

Affected versions

3.*
3.11.15-r0
3.11.15-r1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.12

Package

Name
python-3.12
Purl
pkg:apk/dhi/python-3.12

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.12.13-r2

Affected versions

3.*
3.12.13-r0
3.12.13-r1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.13

Package

Name
python-3.13
Purl
pkg:apk/dhi/python-3.13

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.13.14-r1

Affected versions

3.*
3.13.13-r0
3.13.13-r1
3.13.14-r0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.14

Package

Name
python-3.14
Purl
pkg:apk/dhi/python-3.14

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.14.6-r1

Affected versions

3.*
3.14.5-r0
3.14.5-r1
3.14.6-r0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
Docker Hardened Images:Debian:13
python-3.10

Package

Name
python-3.10
Purl
pkg:deb/dhi/python-3.10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.10.20-0

Affected versions

3.*
3.10.20-0
3.10.20-1
3.10.20-2
3.10.20-3
3.10.20-5
3.10.20-6
3.10.20-7
3.10.20-8
3.10.20-9
3.10.20-10
3.10.20-11
3.10.20-12
3.10.20-13
3.10.21-0
3.10.21-1
3.10.21-2
3.10.22-0
3.10.22-1
3.10.22-2
3.10.22-3
3.10.22-4
3.10.22-5
3.10.22-6
3.10.22-7
3.10.22-8
3.10.22-9
3.10.22-10

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.11

Package

Name
python-3.11
Purl
pkg:deb/dhi/python-3.11

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.11.15-9

Affected versions

3.*
3.11.15-0
3.11.15-1
3.11.15-2
3.11.15-3
3.11.15-5
3.11.15-6
3.11.15-7
3.11.15-8

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.12

Package

Name
python-3.12
Purl
pkg:deb/dhi/python-3.12

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.12.13-9

Affected versions

3.*
3.12.13-0
3.12.13-1
3.12.13-2
3.12.13-3
3.12.13-5
3.12.13-6
3.12.13-7
3.12.13-8

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.13

Package

Name
python-3.13
Purl
pkg:deb/dhi/python-3.13

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.13.14-0

Affected versions

3.*
3.13.13-0
3.13.13-1
3.13.13-2
3.13.13-3
3.13.13-5
3.13.13-6
3.13.13-7
3.13.13-8

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python-3.14

Package

Name
python-3.14
Purl
pkg:deb/dhi/python-3.14

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.14.6-3

Affected versions

3.*
3.14.5-0
3.14.5-1
3.14.5-2
3.14.5-3
3.14.5-5
3.14.6-0
3.14.6-1
3.14.6-2

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"
python3.13

Package

Name
python3.13
Purl
pkg:deb/dhi/python3.13

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.13.5-2+deb13u4+dhi0

Affected versions

3.*
3.13.5-2+deb13u4+dhi0
3.13.5-2+deb13u5

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jv45-h2yr-7tpp-jydy.json"