CVE-2008-5983
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…
Does this matter?
Lower severity and a low EPSS score (0.49%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 2.0
- 6.9 MEDIUMAV:L/AC:M/Au:N/C:C/I:C/A:C
- EPSS
- 0.49% probability · 41th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-426
- Affected
- python/python · fedoraproject/fedora · canonical/ubuntu linux
- Source
- cve@mitre.org
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.