CVE-2012-2337: High severity sudo vulnerability

Published May 10, 2012
·
Updated

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

19 affected components
Todd Miller Sudo=1.6
Todd Miller Sudo=1.6.1
Todd Miller Sudo=1.6.2
Todd Miller Sudo=1.6.2p3
Todd Miller Sudo=1.6.3
Todd Miller Sudo=1.6.3_p7
Todd Miller Sudo=1.6.4
Todd Miller Sudo=1.6.4p2
Todd Miller Sudo=1.6.5
Todd Miller Sudo=1.6.6
Todd Miller Sudo=1.6.7
Todd Miller Sudo=1.6.7p5
Todd Miller Sudo=1.6.8
Todd Miller Sudo=1.6.8p12
Todd Miller Sudo=1.6.9
Todd Miller Sudo=1.6.9p20
Todd Miller Sudo=1.6.9p21
Todd Miller Sudo=1.6.9p22
Todd Miller Sudo=1.6.9p23

Event History

May 10, 2012
Data Sourced
04:32 PM
DescriptionSeverityAffected Software
May 18, 2012
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-2337?

CVE-2012-2337 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2012-2337?

To fix CVE-2012-2337, it is recommended to update sudo to the latest available version.

3

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.

4

What type of vulnerability is CVE-2012-2337?

CVE-2012-2337 is a configuration flaw that allows unauthorized command execution by unprivileged users.

5

Can CVE-2012-2337 lead to privilege escalation?

Yes, CVE-2012-2337 can potentially allow unprivileged users to execute commands with elevated privileges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203