CVE-2012-2337: High severity sudo vulnerability
A security flaw was found in the way sudo granted access for particular host, when multiple netmask values have been used in sudo's Host / HostList configuration. Such configuration allowed unprivileged users, who were authorized by the sudoers file to run their sudo commands, to run these commands from any host regardless of the HostList configuration (even from hosts, which were intended according to the HostList netmask configuration not to allow execution of such commands according to the netmask).
Other sources
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.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2012-2337?
CVE-2012-2337 has been classified as a medium severity vulnerability.
How do I fix CVE-2012-2337?
To fix CVE-2012-2337, it is recommended to update sudo to the latest available version.
What versions of sudo are affected by CVE-2012-2337?
CVE-2012-2337 affects multiple versions of sudo including 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, and various patches of these versions.
What type of vulnerability is CVE-2012-2337?
CVE-2012-2337 is a configuration flaw that allows unauthorized command execution by unprivileged users.
Can CVE-2012-2337 lead to privilege escalation?
Yes, CVE-2012-2337 can potentially allow unprivileged users to execute commands with elevated privileges.