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.
En Python versiones anteriores a 3.10.3 en Windows, los usuarios locales pueden alcanzar privilegios porque la ruta de búsqueda no está asegurada apropiadamente. El instalador puede permitir a un atacante local añadir directorios escribibles por el usuario a la ruta de búsqueda del sistema. Para explotarla, un administrador debe haber instalado Python para todos los usuarios y habilitar las entradas PATH. Un usuario no administrador puede desencadenar una reparación que añada incorrectamente rutas escribibles por el usuario en el PATH, permitiendo el secuestro de la ruta de búsqueda de otros usuarios y servicios del sistema. Esto afecta a Python (CPython) versiones hasta 3.7.12, versiones 3.8.x hasta 3.8.12, versiones 3.9.x hasta 3.9.10, y versiones 3.10.x hasta 3.10.2
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | HIGH |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | HIGH |
| Integrity Impact | HIGH |
| Availability Impact | HIGH |
AV:L/AC:M/Au:N/C:P/I:P/A:P
| Access Vector | LOCAL |
|---|---|
| Access Complexity | MEDIUM |
| Authentication | NONE |
| Confidentiality Impact | PARTIAL |
| Integrity Impact | PARTIAL |
| Availability Impact | PARTIAL |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
CWE-426
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| python | python | * | <built-in method update of dict object at 0x7fd369a4da00> | Application |
| python | python | * | <built-in method update of dict object at 0x7fd369a4cf80> | Application |
| python | python | * | <built-in method update of dict object at 0x7fd341254540> | Application |
| python | python | * | <built-in method update of dict object at 0x7fd369a4d840> | Application |
| python | python | 3.11.0 | <built-in method update of dict object at 0x7fd369a4eec0> | Application |
| python | python | 3.11.0 | <built-in method update of dict object at 0x7fd369a4f440> | Application |
| python | python | 3.11.0 | <built-in method update of dict object at 0x7fd38676f380> | Application |
| python | python | 3.11.0 | <built-in method update of dict object at 0x7fd384e2a300> | Application |
| python | python | 3.11.0 | <built-in method update of dict object at 0x7fd369a4d580> | Application |
| python | python | 3.11.0 | <built-in method update of dict object at 0x7fd369a4fac0> | Application |
| netapp | active_iq_unified_manager | - | <built-in method update of dict object at 0x7fd384e292c0> | Application |
| netapp | ontap_select_deploy_administration_utility | - | <built-in method update of dict object at 0x7fd369a4d680> | Application |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:a:python:python:3.11.0:alpha1:*:*:*:*:*:* |
| Yes | cpe:2.3:a:python:python:3.11.0:alpha2:*:*:*:*:*:* |
| Yes | cpe:2.3:a:python:python:3.11.0:alpha3:*:*:*:*:*:* |
| Yes | cpe:2.3:a:python:python:3.11.0:alpha4:*:*:*:*:*:* |
| Yes | cpe:2.3:a:python:python:3.11.0:alpha5:*:*:*:*:*:* |
| Yes | cpe:2.3:a:python:python:3.11.0:alpha6:*:*:*:*:*:* |
| Vulnerable | CPE |
|---|---|
| No | cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* |
| Yes | cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* |