CVE-2008-5983

UnknownEPSS 0.51%

Last modified

CVE-2008-5983 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 0.51% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
0.51%

39.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PythonPython< 2.6.6
PythonPython>= 3.1.0, < 3.1.3
FedoraprojectFedora13
CanonicalUbuntu Linux8.04
CanonicalUbuntu Linux10.04
CanonicalUbuntu Linux11.04
CanonicalUbuntu Linux11.10

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2008-5983?
Severity scoring for CVE-2008-5983 is pending analysis. The EPSS model estimates a 0.51% probability of exploitation in the next 30 days.
How do I fix CVE-2008-5983?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2008-5983?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST