- --------------------------------------------------------------------------
Debian Security Advisory DSA 870-1 security@debian.org
http://www.debian.org/security/ Martin Schulze
October 25th, 2005 http://www.debian.org/security/faq - --------------------------------------------------------------------------
Package : sudo
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.
For the old stable distribution (woody) this problem has been fixed in
version 1.6.6-1.4.
For the stable distribution (sarge) this problem has been fixed in
version 1.6.8p7-1.2.
For the unstable distribution (sid) this problem has been fixed in
version 1.6.8p9-3.
We recommend that you upgrade your sudo package.
Upgrade Instructions
- --------------------
wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.
If you are using the apt-get package manager, use the line for
sources.list as given below:
apt-get update
will update the internal database
apt-get upgrade
will install corrected packages
You may use an automated update by adding the resources from the
footer to the proper configuration.
Debian GNU/Linux 3.0 alias woody
- --------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>