{"answers":{"affected":"It affects 12 products.","exploited":"There is no known exploitation of CVE-2012-0031 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2012-0031 is a medium-severity memory corruption vulnerability in Apache Http Server, published on 18 Jan 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-0031 and fix it if it is affected.\n\nWhat it is: CVE-2012-0031 is a medium-severity memory corruption vulnerability in Apache Http Server, published on 18 Jan 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-0031 in the wild and no public exploit code.\n\nAffected product: Apache Http Server. 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-0031/ (Markdown: https://insights.sbomify.com/CVE-2012-0031/index.md)","id":"CVE-2012-0031","markdown":"https://insights.sbomify.com/CVE-2012-0031/index.md","name":"CVE-2012-0031","record":{"aliases":["DEBIAN-CVE-2012-0031","GHSA-9mf5-9fjr-xvhw"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apache HTTP Server","requires_auth":"low_privilege","summary":"Local attackers can crash the Apache HTTP Server daemon during shutdown by corrupting shared memory, causing a denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"http_server","vendor":"apache"},{"product":"debian_linux","vendor":"debian"},{"product":"opensuse","vendor":"opensuse"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"jboss_enterprise_web_server","vendor":"redhat"},{"product":"storage","vendor":"redhat"},{"product":"linux_enterprise_server","vendor":"suse"},{"product":"linux_enterprise_software_development_kit","vendor":"suse"}],"cvss":{"score":4.6,"severity":"medium","source":"nvd","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"scoreboard.c in the Apache HTTP Server 2.2.21 and earlier might allow local users to cause a denial of service (daemon crash during shutdown) or possibly have unspecified other impact by modifying a certain type field within a scoreboard shared memory segment, leading to an invalid call to the free function.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2012-01-11","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2012-01-11","kind":"exploitdb","ref":"41768","stars":null,"title":"Apache 2.2 - Scoreboard Invalid Free On Shutdown"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2012-0031","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apache:http_server","products":["apache:http_server","debian:debian_linux","opensuse:opensuse","redhat:enterprise_linux_desktop","redhat:enterprise_linux_eus","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_workstation","suse:linux_enterprise_server","suse:linux_enterprise_software_development_kit"],"type":"memory_corruption","year":"2012"},"n_packages":0,"n_references":45,"next":{"headline":"Misconfiguration in n/a","id":"CVE-2012-0032"},"packages":[],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2012-0030"},"products":["n/a"],"published":"2012-01-18","related":[{"cvss_score":9.8,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-42013","kev_date_added":"2021-11-03","published":"2021-10-07"},{"cvss_score":9.1,"headline":"Apache HTTP Server Improper Escaping of Output","id":"CVE-2024-38475","kev_date_added":"2025-05-01","published":"2024-07-01"},{"cvss_score":9,"headline":"Apache HTTP Server-Side Request Forgery (SSRF)","id":"CVE-2021-40438","kev_date_added":"2021-12-01","published":"2021-09-16"},{"cvss_score":7.8,"headline":"Apache HTTP Server Privilege Escalation","id":"CVE-2019-0211","kev_date_added":"2021-11-03","published":"2019-04-08"},{"cvss_score":7.5,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-41773","kev_date_added":"2021-11-03","published":"2021-10-05"},{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2010-0425","kev_date_added":null,"published":"2010-03-05"},{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2005-2700","kev_date_added":null,"published":"2005-09-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can crash the Apache HTTP Server daemon during shutdown by corrupting shared memory, causing a denial of service.","url":"https://insights.sbomify.com/CVE-2012-0031/"}