What’s Vulnerable › Vulnerabilities
CVE-2005-2959
- Severity: medium (CVSS 4.6 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2005-10-25 · updated 2026-06-16
- Weakness: CWE-264
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.
Affected products
- Todd Miller Sudo: 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.3_p1, 1.6.3_p2 (+26)
References
- http://docs.info.apple.com/article.html?artnum=305214
- 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/17390
- http://secunia.com/advisories/17666
- http://secunia.com/advisories/18549
- http://secunia.com/advisories/24479
- http://www.debian.org/security/2005/dsa-870
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:201
- http://www.novell.com/linux/security/advisories/2006_02_sr.html
Get alerted when CVE-2005-2959 or the next vulnerability affects your stack