CVE-2008-5983Python
Medium 6.9
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 6.9
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 35
- Auth required
- Yes
- Published
- Jan 28, 2009
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-426
- Vector
AV:L/AC:M/Au:N/C:C/I:C/A:C
What happens
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.
What to do
- Apply the vendor's security update for Python.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | < 2.6.6 |
| python | python | ≥ 3.1.0 < 3.1.3 |
| fedoraproject | fedora | 13 |
| canonical | ubuntu_linux | 8.04 |
| canonical | ubuntu_linux | 10.04 |
| canonical | ubuntu_linux | 11.04 |
| canonical | ubuntu_linux | 11.10 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org Mailing List Third Party Advisory
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- security.gentoo.org Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.mail-archive.com
- www.nabble.com Broken Link
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.redhat.com Third Party Advisory
- www.ubuntu.com Third Party Advisory
- www.ubuntu.com Third Party Advisory
- www.ubuntu.com Third Party Advisory
- www.ubuntu.com Third Party Advisory
- www.vupen.com Permissions Required
- www.vupen.com Permissions Required
- bugzilla.redhat.com Issue Tracking Third Party Advisory