CVE-2008-5983

EUVD-2008-5953
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.9 UNKNOWN
LOCAL
MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C
Base Score
CVSS 3.x
EPSS Score
Percentile: 30%
Affected Products (NVD)
VendorProductVersion
pythonpython
𝑥
< 2.6.6
pythonpython
3.1.0 ≤
𝑥
< 3.1.3
canonicalubuntu_linux
8.04
canonicalubuntu_linux
10.04
canonicalubuntu_linux
11.04
canonicalubuntu_linux
11.10
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python2.4
dapper
ignored
gutsy
ignored
hardy
Fixed 2.4.5-1ubuntu4.4
released
intrepid
ignored
jaunty
ignored
karmic
ignored
lucid
dne
maverick
dne
natty
dne
oneiric
dne
precise
dne
quantal
dne
python2.5
dapper
dne
gutsy
ignored
hardy
Fixed 2.5.2-2ubuntu6.2
released
intrepid
ignored
jaunty
ignored
karmic
ignored
lucid
dne
maverick
dne
natty
dne
oneiric
dne
precise
dne
quantal
dne
python2.6
dapper
dne
hardy
dne
karmic
ignored
lucid
Fixed 2.6.5-1ubuntu6.1
released
maverick
not-affected
natty
not-affected
oneiric
not-affected
precise
dne
quantal
dne
python2.7
hardy
dne
lucid
dne
maverick
not-affected
natty
not-affected
oneiric
not-affected
precise
not-affected
quantal
not-affected
python3.1
hardy
dne
lucid
Fixed 3.1.2-0ubuntu3.2
released
natty
not-affected
oneiric
dne
precise
dne
quantal
dne
python3.2
hardy
dne
lucid
dne
natty
not-affected
oneiric
not-affected
precise
not-affected
quantal
not-affected
References