Security mailing lists by PureSourceCode

CVE-2008-5983

MEDIUM 6.9CVSS 2.0

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.

Published
28 Jan 2009
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-426
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
< 2.6.6 2.6.6
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.1.0, < 3.1.3 3.1.3
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:13:*:*:*:*:*:*:*
= 13
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*
= 8.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:*
= 10.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:*
= 11.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:*
= 11.10

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 28 Jan 2009)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.