Description
Race condition in sudo 1.3.1 up to 1.6.8p8, when the ALL pseudo-command is used after a user entry in the sudoers file, allows local users to gain privileges via a symlink attack.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | sudo | 1.6.7p5-30.1.1 | RHSA-2005:535 |
| RHEL 3 | sudo | 1.6.7p5-1.1 | RHSA-2005:535 |
Advisories 3
- RHSA-2005:535 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-735-2 sudo - pathname validation race Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-735-1 sudo - pathname validation race Debian Security (DSA / DLA) · Mar 9, 2026
References
- oval:org.mitre.oval:def:11341 vdb-entry signature
- 20050620 Sudo version 1.6.8p9 now available, fixes security issue. mailing-list
- 17813 third-party-advisory
- ADV-2005-2659 vdb-entry
- DSA-735 vendor-advisory
- ADV-2005-0821 vdb-entry
- 17396 vdb-entry
- RHSA-2005:535 vendor-advisory
- 15744 third-party-advisory
- FLSA:162750 vendor-advisory
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=161116
- APPLE-SA-2005-11-29 vendor-advisory
- 13993 vdb-entry
- http://www.sudo.ws/sudo/alerts/path_race.html
- 15647 vdb-entry
- oval:org.mitre.oval:def:1242 vdb-entry signature
- sudo-pathname-race-condition(21080) vdb-entry
- SUSE-SA:2005:036 vendor-advisory