Vulnerability in Python
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 to execute arbitrary code via a Trojan horse Python file in the current working directory.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.9 (Medium). Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.005 (39.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 39.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: -0.000
Affected products
- Python
- Canonical Ubuntu Linux — versions 8.04, 10.04, 11.04
- Fedoraproject Fedora — versions 13
Weakness classification (CWE)
References
- www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg586010.html (mailing-list)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html (vendor-advisory, Mailing List, Third Party Advisory)
- secunia.com/advisories/51087 (Not Applicable, third-party-advisory)
- www.openwall.com/lists/oss-security/2009/01/30/2 (mailing-list, Mailing List, Third Party Advisory)
- www.ubuntu.com/usn/USN-1616-1 (vendor-advisory, Third Party Advisory)
- secunia.com/advisories/51040 (Not Applicable, third-party-advisory)
- security.gentoo.org/glsa/glsa-200903-41.xml (vendor-advisory, Third Party Advisory)
- www.openwall.com/lists/oss-security/2009/01/26/2 (mailing-list, Mailing List, Third Party Advisory)
- www.vupen.com/english/advisories/2010/1448 (Permissions Required, vdb-entry)