CVEvulnerability
CVE-2008-5983
6.9 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2009-01-28
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.9 MEDIUM — AV:L/AC:M/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-426
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 configurations
• python python (< 2.6.6)
• python python (>= 3.1.0 < 3.1.3)
• fedoraproject fedora 13
• canonical ubuntu linux 8.04
• canonical ubuntu linux 10.04
• canonical ubuntu linux 11.04
• canonical ubuntu linux 11.10
Related
Weakness · CWE (1)
- CWE-426 Untrusted Search Path weakness
References
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html Mailing List, Third Party Advisory
- http://secunia.com/advisories/34522 Not Applicable
- http://secunia.com/advisories/40194 Not Applicable
- http://secunia.com/advisories/42888 Not Applicable
- http://secunia.com/advisories/50858 Not Applicable
- http://secunia.com/advisories/51024 Not Applicable
- http://secunia.com/advisories/51040 Not Applicable
- http://secunia.com/advisories/51087 Not Applicable
- http://security.gentoo.org/glsa/glsa-200903-41.xml Third Party Advisory
- http://security.gentoo.org/glsa/glsa-200904-06.xml Third Party Advisory
- http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg586010.html www.mail-archive.com
- http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html Broken Link
- http://www.openwall.com/lists/oss-security/2009/01/26/2 Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2009/01/28/5 Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2009/01/30/2 Mailing List, Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2011-0027.html Third Party Advisory
- http://www.ubuntu.com/usn/USN-1596-1 Third Party Advisory
- http://www.ubuntu.com/usn/USN-1613-1 Third Party Advisory
- http://www.ubuntu.com/usn/USN-1613-2 Third Party Advisory
- http://www.ubuntu.com/usn/USN-1616-1 Third Party Advisory
- http://www.vupen.com/english/advisories/2010/1448 Permissions Required
- http://www.vupen.com/english/advisories/2011/0122 Permissions Required
- https://bugzilla.redhat.com/show_bug.cgi?id=482814 Issue Tracking, Third Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html Mailing List, Third Party Advisory
- http://secunia.com/advisories/34522 Not Applicable
- http://secunia.com/advisories/40194 Not Applicable
- http://secunia.com/advisories/42888 Not Applicable
- http://secunia.com/advisories/50858 Not Applicable
- http://secunia.com/advisories/51024 Not Applicable
- http://secunia.com/advisories/51040 Not Applicable
- http://secunia.com/advisories/51087 Not Applicable
- http://security.gentoo.org/glsa/glsa-200903-41.xml Third Party Advisory
- http://security.gentoo.org/glsa/glsa-200904-06.xml Third Party Advisory
- http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg586010.html www.mail-archive.com
- http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html Broken Link
- http://www.openwall.com/lists/oss-security/2009/01/26/2 Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2009/01/28/5 Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2009/01/30/2 Mailing List, Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2011-0027.html Third Party Advisory
- http://www.ubuntu.com/usn/USN-1596-1 Third Party Advisory
- http://www.ubuntu.com/usn/USN-1613-1 Third Party Advisory
- http://www.ubuntu.com/usn/USN-1613-2 Third Party Advisory
- http://www.ubuntu.com/usn/USN-1616-1 Third Party Advisory
- http://www.vupen.com/english/advisories/2010/1448 Permissions Required
- http://www.vupen.com/english/advisories/2011/0122 Permissions Required
- https://bugzilla.redhat.com/show_bug.cgi?id=482814 Issue Tracking, Third Party Advisory