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.
Metrics
CVSS 2.0 6.9/10
AV:L/AC:M/Au:N/C:C/I:C/A:CWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.htmlMailing List, Third Party Advisory
- http://secunia.com/advisories/34522Not Applicable
- http://secunia.com/advisories/40194Not Applicable
- http://secunia.com/advisories/42888Not Applicable
- http://secunia.com/advisories/50858Not Applicable
- http://secunia.com/advisories/51024Not Applicable
- http://secunia.com/advisories/51040Not Applicable
- http://secunia.com/advisories/51087Not Applicable
- http://security.gentoo.org/glsa/glsa-200903-41.xmlThird Party Advisory
- http://security.gentoo.org/glsa/glsa-200904-06.xmlThird Party Advisory
- http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg586010.html
- http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.htmlBroken Link
- http://www.openwall.com/lists/oss-security/2009/01/26/2Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2009/01/28/5Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2009/01/30/2Mailing List, Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2011-0027.htmlThird Party Advisory
- http://www.ubuntu.com/usn/USN-1596-1Third Party Advisory
- http://www.ubuntu.com/usn/USN-1613-1Third Party Advisory
- http://www.ubuntu.com/usn/USN-1613-2Third Party Advisory
- http://www.ubuntu.com/usn/USN-1616-1Third Party Advisory
- http://www.vupen.com/english/advisories/2010/1448Permissions Required
- http://www.vupen.com/english/advisories/2011/0122Permissions Required
- https://bugzilla.redhat.com/show_bug.cgi?id=482814Issue Tracking, Third Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.htmlMailing List, Third Party Advisory
- http://secunia.com/advisories/34522Not Applicable
- http://secunia.com/advisories/40194Not Applicable
- http://secunia.com/advisories/42888Not Applicable
- http://secunia.com/advisories/50858Not Applicable
- http://secunia.com/advisories/51024Not Applicable
- http://secunia.com/advisories/51040Not Applicable
- http://secunia.com/advisories/51087Not Applicable
- http://security.gentoo.org/glsa/glsa-200903-41.xmlThird Party Advisory
- http://security.gentoo.org/glsa/glsa-200904-06.xmlThird Party Advisory
- http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg586010.html
- http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.htmlBroken Link
- http://www.openwall.com/lists/oss-security/2009/01/26/2Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2009/01/28/5Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2009/01/30/2Mailing List, Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2011-0027.htmlThird Party Advisory
- http://www.ubuntu.com/usn/USN-1596-1Third Party Advisory
- http://www.ubuntu.com/usn/USN-1613-1Third Party Advisory
- http://www.ubuntu.com/usn/USN-1613-2Third Party Advisory
- http://www.ubuntu.com/usn/USN-1616-1Third Party Advisory
- http://www.vupen.com/english/advisories/2010/1448Permissions Required
- http://www.vupen.com/english/advisories/2011/0122Permissions Required
- https://bugzilla.redhat.com/show_bug.cgi?id=482814Issue Tracking, Third Party Advisory
Timeline
- Published
- Jan 28, 2009
- Last modified
- Jun 16, 2026
- NVD status
- Modified