CVE-2012-2337 json
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 al…
published 2012-05-18 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2330
- cvss
- 7.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- sudo Debian 14, Debian 13, Debian 12 1.8.3p2-1.1
debian advisories DEBIAN-CVE-2012-2337
- sudo RHEL 5 1.7.2p1-14.el5_8
- sudo RHEL 6 1.7.4p5-12.el6_3
red hat advisories RHSA-2012:1081
- sudo openSUSE Tumbleweed 1.8.18p1-1.1
opensuse advisories openSUSE-SU-2024:10551-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-2337 updated cvss 6.8
sudo: Multiple netmask values used in Host / Host_List configuration cause any host to be allowed access
-
Red Hat Enterprise Linux (v. 5 server) sudo 1.7.2p1-14.el5_8 Red Hat Enterprise Linux Desktop (v. 5 client) sudo 1.7.2p1-14.el5_8 Red Hat Enterprise Linux Desktop (v. 6) sudo 1.7.4p5-12.el6_3 Red Hat Enterprise Linux HPC Node (v. 6) sudo 1.7.4p5-12.el6_3 Red Hat Enterprise Linux Server (v. 6) sudo 1.7.4p5-12.el6_3 Red Hat Enterprise Linux Workstation (v. 6) sudo 1.7.4p5-12.el6_3fixed: vendor fix RHSA-2012:1081
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
References
-
mandriva.com
/security/advisories?name=MDVSA-2012:079
vendor-advisory
-
debian.org
/security/2012/dsa-2478
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-May/081432.html
vendor-advisory
-
sudo.ws
/sudo/alerts/netmask.html
vendor-advisory
- bugzilla.redhat.com /show_bug.cgi?id=820677
-
secunia.com
/advisories/49219
third-party-advisory
-
secunia.com
/advisories/49948
third-party-advisory
-
secunia.com
/advisories/49244
third-party-advisory
-
secunia.com
/advisories/49291
third-party-advisory
-
securitytracker.com
/id?1027077
vdb-entry
- suse.com /security/cve/CVE-2012-2337/
Sources
- CVE List CVE-2012-2337
- NVD CVE-2012-2337
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.