First published: Wed Jan 28 2009(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>
Affected Software | Affected Version | How to fix |
---|---|---|
Python 2.7 | <2.6 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-482814 is categorized as medium due to the untrusted search path vulnerability.
To fix REDHAT-BUG-482814, upgrade to Python version 2.6 or later.
REDHAT-BUG-482814 affects all versions of Python prior to 2.6.
REDHAT-BUG-482814 is an untrusted search path vulnerability in the PySys_SetArgv API function.
REDHAT-BUG-482814 can be exploited by manipulating the search path used for loading modules, leading to code execution.