In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.7.13, 3.10.3, 3.8.13, 3.9.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured. The installer may allow a local attacker to add user-writable directories to the system search path. To exploit, an administrator must have installed Python for all users and enabled PATH entries. A non-administrative user can trigger a repair that incorrectly adds user-writable paths into PATH, enabling search-path hijacking of other users and system services. This affects Python (CPython) through 3.7.12, 3.8.x through 3.8.12, 3.9.x through 3.9.10, and 3.10.x through 3.10.2.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- libpythonBitnami
fixed in 3.7.13; From 3.10.0 · fixed in 3.10.3; From 3.8.0 · fixed in 3.8.13; From 3.9.0 · fixed in 3.9.11
- pythonBitnami
fixed in 3.7.13; From 3.10.0 · fixed in 3.10.3; From 3.8.0 · fixed in 3.8.13; From 3.9.0 · fixed in 3.9.11
- python-minBitnami
fixed in 3.7.13; From 3.10.0 · fixed in 3.10.3; From 3.8.0 · fixed in 3.8.13; From 3.9.0 · fixed in 3.9.11