Distro advisory · Debian 3.0
sudo - pathname validation race
Description
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.
Manual fix · Debian 3.0
sudo apt-get updatesudo apt-get install --only-upgrade sudodpkg -s sudo | grep VersionSources