National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2008-5983 Detail

Current 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.

Source:  MITRE
View Analysis Description

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 6.9 MEDIUM
Vector: (AV:L/AC:M/Au:N/C:C/I:C/A:C) (V2 legend)
Impact Subscore: 10.0
Exploitability Subscore: 3.4


Access Vector (AV): Local
Access Complexity (AC): Medium
Authentication (AU): None
Confidentiality (C): Complete
Integrity (I): Complete
Availability (A): Complete
Additional Information:
Victim must voluntarily interact with attack mechanism
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html
http://security.gentoo.org/glsa/glsa-200903-41.xml
http://security.gentoo.org/glsa/glsa-200904-06.xml
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg586010.html
http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html
http://www.openwall.com/lists/oss-security/2009/01/26/2
http://www.openwall.com/lists/oss-security/2009/01/28/5
http://www.openwall.com/lists/oss-security/2009/01/30/2
http://www.redhat.com/support/errata/RHSA-2011-0027.html
http://www.ubuntu.com/usn/USN-1596-1
http://www.ubuntu.com/usn/USN-1613-1
http://www.ubuntu.com/usn/USN-1613-2
http://www.ubuntu.com/usn/USN-1616-1
http://www.vupen.com/english/advisories/2010/1448 Vendor Advisory
http://www.vupen.com/english/advisories/2011/0122 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=482814

Technical Details

Vulnerability Type (View All)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:python_software_foundation:python:1.5.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:1.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:1.6.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.1.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.2.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.3.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.3.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.3.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.3.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.3.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.3.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.3.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.4.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.4.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.4.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.4.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.4.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.4.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.5.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.5.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:2.5.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python_software_foundation:python:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
2.6.0


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2008-5983
NVD Published Date:
01/27/2009
NVD Last Modified:
05/14/2013