DSA 735-2: New sudo packages fix pathname validation race
Posted on: 07/08/2005 08:02 AM

New sudo packages are available for Debian GNU/Linux ARM and Intel ia64

-------------------------------------------------------------------------
Debian Security Advisory DSA 735-2 security@debian.org
http://www.debian.org/security/ Michael Stone
July 07, 2005 http://www.debian.org/security/faq
-------------------------------------------------------------------------

Package : sudo
Vulnerability : pathname validation race
Problem type : local
Debian-specific: no
CVE Id(s) : CAN-2005-1993
Debian Bug : 315115

A local user who has been granted permission to run commands via sudo could run arbitrary commands as a privileged user due to a flaw in sudo's pathname validation. This bug only affects configurations which have restricted user configurations prior to an ALL directive in the configuration file. A workaround is to move any ALL directives to the beginning of the sudoers file; see the advisory at http://www.sudo.ws/sudo/alerts/path_race.html for more information.

For the old stable Debian distribution (woody), this problem has been fixed in version 1.6.6-1.3woody1.

For the current stable distribution (sarge), this problem has been fixed in version 1.6.8p7-1.1sarge1.

For the unstable distribution, this problem has been fixed in version 1.6.8p9-1.

The only change since DSA 735-1 is the addition of certain architectures which were not available in the original advisory.

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 3.0 (woody)
- ------------------

woody was released for alpha, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390 and sparc. Packages for all but arm ia64 were released in DSA 735-1.

arm architecture (ARM)

http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.3woody1_arm.deb
Size/MD5 checksum: 140196 68a776aa70997915c4cd3b2513cfda9a

ia64 architecture (Intel ia64)

http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.3woody1_ia64.deb
Size/MD5 checksum: 170186 a7f5941729ed3e865b3809225de8c950


Debian 3.1 (sarge)
- ------------------

sarge was released for alpha, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390 and sparc. Packages for all but arm were released in DSA 735-1.

arm architecture (ARM)

http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.1sarge1_arm.deb
Size/MD5 checksum: 163476 870b7104140d4170b2bbc663d431c333



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/dsa_735_2_new_sudo_packages_fix_pathname_validation_race.html)