Skip to content

CVE-2008-5983 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 co...

MediumCVSS 6.9 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
python < 2.6.6 2.6.6
python >= 3.1.0, < 3.1.3 3.1.3
fedoraproject fedora = 13 No fix listed
Canonical Ubuntu Linux = 8.04 No fix listed
Canonical Ubuntu Linux = 10.04 No fix listed
Canonical Ubuntu Linux = 11.04 No fix listed
Canonical Ubuntu Linux = 11.10 No fix listed

References