CVE-2005-2959 json
Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 enviro…
published 2005-10-25 21 y ago modified 2026-06-16 4 mo ago also EUVD-2005-2959
- cvss
- 4.6
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- sudo Debian 14, Debian 13, Debian 12 1.6.8p9-3
debian advisories DEBIAN-CVE-2005-2959
- debian.org/security/2005/dsa-870 advisory
- secunia.com/advisories/17390 advisory
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- securityfocus.com http://www.securityfocus.com/bid/15191 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
References
-
debian.org
/security/2005/dsa-870
vendor-advisory, patch
-
secunia.com
/advisories/17390
third-party-advisory, patch, vendor-advisory
-
securityfocus.com
/bid/15191
vdb-entry, exploit
-
mandriva.com
/security/advisories?name=MDKSA-2005:201
vendor-advisory
-
lists.apple.com
/archives/security-announce/2007/Mar/msg00002.html
vendor-advisory
-
novell.com
/linux/security/advisories/2006_02_sr.html
vendor-advisory
-
usn.ubuntu.com
/213-1/
vendor-advisory
-
securityfocus.com
/advisories/9643
vendor-advisory
-
openpkg.org
/security/OpenPKG-SA-2006.002-sudo.html
vendor-advisory
-
secunia.com
/advisories/17666
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/18549
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/17322
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/17345
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2007/0930
vdb-entry, vendor-advisory
-
secunia.com
/advisories/17318
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/24479
third-party-advisory, vendor-advisory
- sudo.ws /bugs/show_bug.cgi?id=182
-
us-cert.gov
/cas/techalerts/TA07-072A.html
third-party-advisory, us-government-resource
- docs.info.apple.com /article.html?artnum=305214
Sources
- CVE List CVE-2005-2959
- NVD CVE-2005-2959
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.