First published: Wed Aug 06 2008(Updated: )
Common Vulnerabilities and Exposures assigned an identifier <a href="https://access.redhat.com/security/cve/CVE-2008-5983">CVE-2008-5983</a> to the following vulnerability: Untrusted search path vulnerability in the PySys_SetArgv API function in Python before 2.6 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: <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983">http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983</a> <a href="http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg586010.html">http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg586010.html</a> <a href="http://www.openwall.com/lists/oss-security/2009/01/26/2">http://www.openwall.com/lists/oss-security/2009/01/26/2</a> <a href="http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html">http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html</a>
Credit: cve@mitre.org cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Python Python | >=3.1.0<3.1.3 | |
Python Python | <2.6.6 | |
Fedoraproject Fedora | =13 | |
Canonical Ubuntu Linux | =11.04 | |
Canonical Ubuntu Linux | =11.10 | |
Canonical Ubuntu Linux | =8.04 | |
Canonical Ubuntu Linux | =10.04 | |
redhat/python | <0:2.4.3-43.el5 | 0:2.4.3-43.el5 |
debian/python2.4 | ||
debian/python2.6 | ||
debian/python3.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2008-5983 is a vulnerability in the PySys_SetArgv API function in Python 2.6 and earlier that allows local users to execute arbitrary code via a Trojan horse P…
Python 2.6 and earlier, and possibly later versions, are affected by CVE-2008-5983.
CVE-2008-5983 has a severity rating of 6.9 (medium).
There are no specific fixes mentioned for CVE-2008-5983. It is recommended to update to the latest version of Python to mitigate the vulnerability.
You can find more information about CVE-2008-5983 at the following references: [link1](http://www.openwall.com/lists/oss-security/2009/01/26/2), [link2](http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg586010.html), [link3](http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html)