CVE-2005-2959
Description
Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.624%
chance of exploitation in the next 30 days
higher than 50.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
Timeline
- 2005-10-25Published by the CNA04:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| todd_miller sudo | 1.6no fix listed1.6.1no fix listed1.6.2no fix listed1.6.3no fix listed1.6.3_p1no fix listed(+27 more) | not listednot listednot listednot listednot listed |
References
- http://secunia.com/advisories/17390
- http://www.debian.org/security/2005/dsa-870
- http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
- http://secunia.com/advisories/17318
- http://secunia.com/advisories/17322
- http://secunia.com/advisories/17345
- http://secunia.com/advisories/17666
- http://secunia.com/advisories/18549
- http://secunia.com/advisories/24479
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:201
- http://www.novell.com/linux/security/advisories/2006_02_sr.html
- http://www.openpkg.org/security/OpenPKG-SA-2006.002-sudo.html
- http://www.securityfocus.com/advisories/9643
- http://www.vupen.com/english/advisories/2007/0930
- https://usn.ubuntu.com/213-1/
- http://www.securityfocus.com/bid/15191
- http://docs.info.apple.com/article.html?artnum=305214
- http://www.sudo.ws/bugs/show_bug.cgi?id=182
- http://www.us-cert.gov/cas/techalerts/TA07-072A.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2005-2959'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2005-2959'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2005-2959'curl 'https://api.contrastcyber.com/cve_products/CVE-2005-2959'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).