Description
Sudo 1.7.0 through 1.7.4p3, when a Runas group is configured, does not properly handle use of the -u option in conjunction with the -g option, which allows local users to gain privileges via a command line containing a "-u root" sequence.
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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sudo | 1.7.4p4-1 | — |
| Debian 13 | sudo | 1.7.4p4-1 | — |
| Debian 12 | sudo | 1.7.4p4-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | sudo | 1.7.2p1-8.el5_5 | RHSA-2010:0675 |
Advisories 1
- RHSA-2010:0675 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- ADV-2010-2312 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=628628
- ADV-2010-2318 vdb-entry
- http://www.vmware.com/security/advisories/VMSA-2011-0001.html
- MDVSA-2010:175 vendor-advisory
- ADV-2010-2320 vdb-entry
- 20101027 rPSA-2010-0075-1 sudo mailing-list
- ADV-2010-2358 vdb-entry
- http://www.sudo.ws/sudo/alerts/runas_group.html
- http://wiki.rpath.com/Advisories:rPSA-2010-0075
- FEDORA-2010-14355 vendor-advisory
- GLSA-201009-03 vendor-advisory
- 20110105 VMSA-2011-0001 VMware ESX third party updates for Service Console packages glibc, sudo, and openldap mailing-list
- SUSE-SR:2010:017 vendor-advisory
- 43019 vdb-entry
- RHSA-2010:0675 vendor-advisory
- 40508 third-party-advisory
- 1024392 vdb-entry
- 42787 third-party-advisory
- ADV-2011-0025 vdb-entry
- USN-983-1 vendor-advisory
- 41316 third-party-advisory