IM
IronMonkey Threat Research

CVE-2022-26488 HIGH

Published: 2022-03-10 | Last Modified: 2026-10-08 | Status: Modified

Description

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.

Additional Descriptions (1)

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 Metrics

Base Score: 7.0 (HIGH)

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack VectorLOCAL
Attack ComplexityHIGH
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactHIGH
Integrity ImpactHIGH
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 1.0

Impact Score: 5.9

Base Score: 4.4 (MEDIUM)

AV:L/AC:M/Au:N/C:P/I:P/A:P

Access VectorLOCAL
Access ComplexityMEDIUM
AuthenticationNONE
Confidentiality ImpactPARTIAL
Integrity ImpactPARTIAL
Availability ImpactPARTIAL

Source: [email protected]

Type: Primary

Exploitability Score: 3.4

Impact Score: 6.4

Weaknesses

Source Type Description
[email protected] Primary
en CWE-426

Affected Products

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

Affected Configurations

Operator: OR

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:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
No cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*
Yes cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*