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.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Information
Published : 2009-01-27 18:30
Updated : 2022-07-05 11:57
NVD link : CVE-2008-5983
Mitre link : CVE-2008-5983
JSON object : View
CWE
CWE-426
Untrusted Search Path
Products Affected
canonical
- ubuntu_linux
python
- python
fedoraproject
- fedora