Untrusted search path in Python - CVE-2022-26488

 

Untrusted search path in Python - CVE-2022-26488

Published: December 7, 2022 / Updated: August 17, 2023


Vulnerability identifier: #VU70037
CSH Severity: Low
CVSS v4: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-26488
CWE-ID: CWE-426
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to the search path being inadequately secured. 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.


Affected software

Python
IBM Monitor Component
IBM Robotic Process Automation

How to mitigate CVE-2022-26488

Install updates from vendor's website.

Python - update to 3.10.3
IBM Monitor Component - update to 8.6.4
IBM Robotic Process Automation - update to 21.0.5

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins