SB2022070550 - Untrusted search path in Python 



SB2022070550 - Untrusted search path in Python

Published: July 5, 2022 Updated: June 3, 2025

Security Bulletin ID SB2022070550
Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Untrusted search path (CVE-ID: CVE-2008-5983)

The vulnerability allows a local user to execute arbitrary code.

Untrusted search path vulnerability in the PySys_SetArgv API function in Python 2.6 and earlier, and possibly later versions, prepends an empty string to sys.path when the argv[0] argument does not contain a path separator, which might allow local users to execute arbitrary code via a Trojan horse Python file in the current working directory.


Remediation

Install update from vendor's website.