Lucene search

K
ubuntucveUbuntu.comUB:CVE-2008-5983
HistoryJan 27, 2009 - 12:00 a.m.

CVE-2008-5983

2009-01-2700:00:00
ubuntu.com
ubuntu.com
13

6.9 Medium

CVSS2

Access Vector

LOCAL

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:M/Au:N/C:C/I:C/A:C

0.001 Low

EPSS

Percentile

22.3%

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.

Bugs

Notes

Author Note
jdstrand upstream added new C API function, PySys_SetArgvEx, which can be used to set sys.argv without also modifying sys.path. The default behavior for PySys_SetArgv does not change.
OSVersionArchitecturePackageVersionFilename
ubuntu8.04noarchpython2.4<Β 2.4.5-1ubuntu4.4UNKNOWN
ubuntu8.04noarchpython2.5<Β 2.5.2-2ubuntu6.2UNKNOWN
ubuntu10.04noarchpython2.6<Β 2.6.5-1ubuntu6.1UNKNOWN
ubuntu10.04noarchpython3.1<Β 3.1.2-0ubuntu3.2UNKNOWN

6.9 Medium

CVSS2

Access Vector

LOCAL

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:M/Au:N/C:C/I:C/A:C

0.001 Low

EPSS

Percentile

22.3%