{"id":"DEBIAN-CVE-2005-2959","details":"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.","modified":"2026-09-08T06:47:32.625550628Z","published":"2005-10-25T16:02:00Z","upstream":["CVE-2005-2959"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2005-2959"}],"affected":[{"package":{"name":"sudo","ecosystem":"Debian:12","purl":"pkg:deb/debian/sudo?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.8p9-3"}]}],"ecosystem_specific":{"urgency":"medium"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2005-2959.json"}},{"package":{"name":"sudo","ecosystem":"Debian:13","purl":"pkg:deb/debian/sudo?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.8p9-3"}]}],"ecosystem_specific":{"urgency":"medium"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2005-2959.json"}},{"package":{"name":"sudo","ecosystem":"Debian:14","purl":"pkg:deb/debian/sudo?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.8p9-3"}]}],"ecosystem_specific":{"urgency":"medium"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2005-2959.json"}}],"schema_version":"1.9.0"}