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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.9 UNKNOWN
LOCAL
MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 37%
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
quantal
dne
precise
dne
oneiric
dne
natty
dne
maverick
dne
lucid
dne
karmic
ignored
jaunty
ignored
intrepid
ignored
hardy
Fixed 2.4.5-1ubuntu4.4
released
gutsy
ignored
dapper
ignored
python2.5
quantal
dne
precise
dne
oneiric
dne
natty
dne
maverick
dne
lucid
dne
karmic
ignored
jaunty
ignored
intrepid
ignored
hardy
Fixed 2.5.2-2ubuntu6.2
released
gutsy
ignored
dapper
dne
python2.6
quantal
dne
precise
dne
oneiric
not-affected
natty
not-affected
maverick
not-affected
lucid
Fixed 2.6.5-1ubuntu6.1
released
karmic
ignored
hardy
dne
dapper
dne
python2.7
quantal
not-affected
precise
not-affected
oneiric
not-affected
natty
not-affected
maverick
not-affected
lucid
dne
hardy
dne
python3.1
quantal
dne
precise
dne
oneiric
dne
natty
not-affected
lucid
Fixed 3.1.2-0ubuntu3.2
released
hardy
dne
python3.2
quantal
not-affected
precise
not-affected
oneiric
not-affected
natty
not-affected
lucid
dne
hardy
dne
References