Back

MEDIUM

python: untrusted python modules search path

Published Jan 28, 2009

Description

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (1)

References (26)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jan 28, 2009
Updated Aug 7, 2024
Reserved Jan 27, 2009
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Low
Public date Aug 6, 2008