CVE-2005-2959

NameCVE-2005-2959
DescriptionIncomplete 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-870-1
NVD severitymedium (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sudo (PTS)wheezy (security), wheezy1.8.5p2-1+nmu3+deb7u1fixed
jessie (security), jessie1.8.10p3-1+deb8u3fixed
stretch, sid1.8.17p1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sudosource(unstable)1.6.8p9-3medium
sudosourcesarge1.6.8p7-1.2mediumDSA-870-1
sudosourcewoody1.6.6-1.4mediumDSA-870-1

Search for package or bug name: Reporting problems