CVE-2008-5983

N/A Unknown
Published: January 28, 2009 Modified: April 23, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html
Source: cve@mitre.org
Mailing List Third Party Advisory
http://secunia.com/advisories/34522
Source: cve@mitre.org
Not Applicable
http://secunia.com/advisories/40194
Source: cve@mitre.org
Not Applicable
http://secunia.com/advisories/42888
Source: cve@mitre.org
Not Applicable
http://secunia.com/advisories/50858
Source: cve@mitre.org
Not Applicable
http://secunia.com/advisories/51024
Source: cve@mitre.org
Not Applicable
http://secunia.com/advisories/51040
Source: cve@mitre.org
Not Applicable
http://secunia.com/advisories/51087
Source: cve@mitre.org
Not Applicable
http://security.gentoo.org/glsa/glsa-200903-41.xml
Source: cve@mitre.org
Third Party Advisory
http://security.gentoo.org/glsa/glsa-200904-06.xml
Source: cve@mitre.org
Third Party Advisory
http://www.openwall.com/lists/oss-security/2009/01/26/2
Source: cve@mitre.org
Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2009/01/28/5
Source: cve@mitre.org
Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2009/01/30/2
Source: cve@mitre.org
Mailing List Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2011-0027.html
Source: cve@mitre.org
Third Party Advisory
http://www.ubuntu.com/usn/USN-1596-1
Source: cve@mitre.org
Third Party Advisory
http://www.ubuntu.com/usn/USN-1613-1
Source: cve@mitre.org
Third Party Advisory
http://www.ubuntu.com/usn/USN-1613-2
Source: cve@mitre.org
Third Party Advisory
http://www.ubuntu.com/usn/USN-1616-1
Source: cve@mitre.org
Third Party Advisory
http://www.vupen.com/english/advisories/2010/1448
Source: cve@mitre.org
Permissions Required
http://www.vupen.com/english/advisories/2011/0122
Source: cve@mitre.org
Permissions Required
https://bugzilla.redhat.com/show_bug.cgi?id=482814
Source: cve@mitre.org
Issue Tracking Third Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://secunia.com/advisories/34522
Source: af854a3a-2127-422b-91ae-364da2661108
Not Applicable
http://secunia.com/advisories/40194
Source: af854a3a-2127-422b-91ae-364da2661108
Not Applicable
http://secunia.com/advisories/42888
Source: af854a3a-2127-422b-91ae-364da2661108
Not Applicable
http://secunia.com/advisories/50858
Source: af854a3a-2127-422b-91ae-364da2661108
Not Applicable
http://secunia.com/advisories/51024
Source: af854a3a-2127-422b-91ae-364da2661108
Not Applicable
http://secunia.com/advisories/51040
Source: af854a3a-2127-422b-91ae-364da2661108
Not Applicable
http://secunia.com/advisories/51087
Source: af854a3a-2127-422b-91ae-364da2661108
Not Applicable
http://security.gentoo.org/glsa/glsa-200903-41.xml
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://security.gentoo.org/glsa/glsa-200904-06.xml
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.openwall.com/lists/oss-security/2009/01/26/2
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2009/01/28/5
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2009/01/30/2
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2011-0027.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.ubuntu.com/usn/USN-1596-1
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.ubuntu.com/usn/USN-1613-1
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.ubuntu.com/usn/USN-1613-2
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.ubuntu.com/usn/USN-1616-1
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.vupen.com/english/advisories/2010/1448
Source: af854a3a-2127-422b-91ae-364da2661108
Permissions Required
http://www.vupen.com/english/advisories/2011/0122
Source: af854a3a-2127-422b-91ae-364da2661108
Permissions Required
https://bugzilla.redhat.com/show_bug.cgi?id=482814
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Third Party Advisory

46 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
0.1%
31th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

fedoraproject canonical python