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.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 13
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
— |
<= 3.7.12
|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
3.8.0
|
<= 3.8.12
|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
3.9.0
|
<= 3.9.10
|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
3.10.0
|
<= 3.10.2
|
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha1:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha2:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha3:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha4:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha5:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha6:*:*:*:*:*:*
|
— | — |
|
Microsoft Windows
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
|
— | — |
|
Netapp Active_Iq_Unified_Manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*
|
— | — |
|
Netapp Ontap_Select_Deploy_Administration_Utility
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
|
— | — |