{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-2337 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"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."},"fix_prompt":"Check this codebase for CVE-2012-2337 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2012-2337 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2012-2337/ (Markdown: https://insights.sbomify.com/CVE-2012-2337/index.md)","id":"CVE-2012-2337","markdown":"https://insights.sbomify.com/CVE-2012-2337/index.md","name":"CVE-2012-2337","record":{"aliases":["DEBIAN-CVE-2012-2337","DSA-2478-1","GHSA-69qw-r4p8-f6hq","RHSA-2012:1081"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"sudo utility","requires_auth":"low_privilege","summary":"Local attackers can bypass sudo command restrictions on hosts with IPv4 addresses when netmask syntax is used, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"sudo","vendor":"todd_miller"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"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.","ecosystems":["Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server","Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Privilege escalation in n/a","id":"CVE-2012-2337","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2012"},"n_packages":12,"n_references":11,"next":{"headline":"SQL injection in n/a","id":"CVE-2012-2338"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:1.7.2p1-14.el5_8"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:1.7.2p1-14.el5_8"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:1.7.2p1-14.el5_8"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:1.7.2p1-14.el5_8"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.4p5-12.el6_3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.4p5-12.el6_3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.4p5-12.el6_3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.4p5-12.el6_3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.4p5-12.el6_3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.4p5-12.el6_3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.7.4p5-12.el6_3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2012:1081"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.7.4p5-12.el6_3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2012:1081"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2012-2336"},"products":["n/a"],"published":"2012-05-18","related":[{"cvss_score":8.4,"headline":"Privilege escalation in n/a","id":"CVE-2005-1831","kev_date_added":null,"published":"2005-06-02"},{"cvss_score":7.2,"headline":"Memory corruption in n/a","id":"CVE-2012-0809","kev_date_added":null,"published":"2012-02-01"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2006-0151","kev_date_added":null,"published":"2006-01-09"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2002-0043","kev_date_added":null,"published":"2002-06-25"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-1999-0958","kev_date_added":null,"published":"2000-04-18"},{"cvss_score":7,"headline":"Security feature bypass in n/a","id":"CVE-2016-7032","kev_date_added":null,"published":"2017-04-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can bypass sudo command restrictions on hosts with IPv4 addresses when netmask syntax is used, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2012-2337/"}