CVE-2008-5983
Medium
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.
SeverityMedium
CVSS6.9
Exploit probability42. percentile0.5%
Product
Python
PublishedJan 28, 2009
First seenJan 28, 2009
How to fix
Update
- python python2.6.6, 3.1.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python python | v < 2.6.6, 3.1.0 ≤ v < 3.1.3 | 2.6.6, 3.1.3 |
| fedoraproject fedora | 13 | — |
| canonical ubuntu_linux | 8.04, 10.04, 11.04, 11.10 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.