Distro advisory · Debian 3.0
sudo - missing input sanitising
Description
Vulnerability : missing input sanitising Problem type : local Debian-specific: no CVE ID : CVE-2005-2959
Tavis Ormandy noticed that sudo, a program that provides limited super user privileges to specific users, does not clean the environment sufficiently. The SHELLOPTS and PS4 variables are dangerous and are still passed through to the program running as privileged user. This can result in the execution of arbitrary commands as privileged user when a bash script is executed. These vulnerabilities can only be exploited by users who have been granted limited super user privileges.
Manual fix · Debian 3.0
sudo apt-get updatesudo apt-get install --only-upgrade sudodpkg -s sudo | grep VersionSources