Description
sudo 1.6.x and 1.7.x before 1.7.9p1, and 1.8.x before 1.8.4p5, does not properly support configurations that use a netmask syntax, which allows local users to bypass intended command restrictions in opportunistic circumstances by executing a command on a host that has an IPv4 address.
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.8.3p2-1.1 | — |
| Debian 13 | sudo | 1.8.3p2-1.1 | — |
| Debian 12 | sudo | 1.8.3p2-1.1 | — |
| Debian 6.0 | sudo | 1.7.4p4-2.squeeze.3 | DSA-2478-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | sudo | 1.7.4p5-12.el6_3 | RHSA-2012:1081 |
| RHEL 5 | sudo | 1.7.2p1-14.el5_8 | RHSA-2012:1081 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | sudo | 1.8.18p1-1.1 | openSUSE-SU-2024:10551-1 |
Advisories 3
- RHSA-2012:1081 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2478-1 sudo - parsing error Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10551-1 sudo-1.8.18p1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=820677
- 49219 third-party-advisory
- 49948 third-party-advisory
- 49244 third-party-advisory
- MDVSA-2012:079 vendor-advisory
- 49291 third-party-advisory
- DSA-2478 vendor-advisory
- 1027077 vdb-entry
- https://www.suse.com/security/cve/CVE-2012-2337/
- FEDORA-2012-7998 vendor-advisory
- http://www.sudo.ws/sudo/alerts/netmask.html