CVE-2012-2337 Privilege escalation in n/a

High 7.2 Published Updated

Local attackers can bypass sudo command restrictions on hosts with IPv4 addresses when netmask syntax is used, leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2012-2337?

CVE-2012-2337 is a high-severity vulnerability in n/a, published on 18 May 2012. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-264

Which versions are affected by CVE-2012-2337?

It affects 1 product.

Linux distribution packages (12)
sudo Red Hat:enterprise_linux:5::clientAll versions0:1.7.2p1-14.el5_8
sudo-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:1.7.2p1-14.el5_8
sudo Red Hat:enterprise_linux:5::serverAll versions0:1.7.2p1-14.el5_8
sudo-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:1.7.2p1-14.el5_8
sudo Red Hat:enterprise_linux:6::clientAll versions0:1.7.4p5-12.el6_3
sudo-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:1.7.4p5-12.el6_3
sudo Red Hat:enterprise_linux:6::computenodeAll versions0:1.7.4p5-12.el6_3
sudo-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:1.7.4p5-12.el6_3
sudo Red Hat:enterprise_linux:6::serverAll versions0:1.7.4p5-12.el6_3
sudo-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:1.7.4p5-12.el6_3
sudo Red Hat:enterprise_linux:6::workstationAll versions0:1.7.4p5-12.el6_3
sudo-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:1.7.4p5-12.el6_3

Products include Todd Miller Sudo.

How do I fix CVE-2012-2337?

Upgrade to a fixed version.

Is CVE-2012-2337 being exploited?

There is no known exploitation of CVE-2012-2337 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-2337, DSA-2478-1, GHSA-69qw-r4p8-f6hq, RHSA-2012:1081.

Is CVE-2012-2337 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free