{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-2012 exists.","fix":"No fix has been published for CVE-2004-2012 yet. Limit exposure of the affected software until one is available.","what":"CVE-2004-2012 is a high-severity vulnerability in Netbsd Netbsd, published on 10 May 2005. 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-2004-2012 and fix it if it is affected.\n\nWhat it is: CVE-2004-2012 is a high-severity vulnerability in Netbsd Netbsd, published on 10 May 2005. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-2012 exists.\n\nAffected product: Netbsd Netbsd. 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-2004-2012/ (Markdown: https://insights.sbomify.com/CVE-2004-2012/index.md)","id":"CVE-2004-2012","markdown":"https://insights.sbomify.com/CVE-2004-2012/index.md","name":"CVE-2004-2012","record":{"aliases":["GHSA-hh57-6r48-4q3g"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NetBSD systrace utility","requires_auth":"low_privilege","summary":"Local attackers can gain root privileges because the systrace utility fails to verify the connection owner before elevating privileges.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"netbsd","vendor":"netbsd"},{"product":"provos_systrace","vendor":"niels"},{"product":"systrace_port_for_freebsd","vendor":"vladimir_kotal"}],"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":[],"description":"The systrace_exit function in the systrace utility for NetBSD-current and 2.0 before April 16, 2004, and certain FreeBSD ports, does not verify the owner of the /dec/systrace connection before setting euid to 0, which allows local users to gain root privileges.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2004-05-11","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-05-11","kind":"exploitdb","ref":"24113","stars":null,"title":"NetBSD/FreeBSD Port Systrace 1.x - Exit Routine Access Validation Privilege Escalation"}],"tier":"weaponised"},"has_fix":null,"headline":"Privilege escalation in n/a","id":"CVE-2004-2012","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netbsd:netbsd","products":["netbsd:netbsd"],"type":"privilege_escalation","year":"2004"},"n_packages":0,"n_references":5,"next":{"headline":"Integer overflow in n/a","id":"CVE-2004-2013"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2004-2011"},"products":["n/a"],"published":"2005-05-10","related":[{"cvss_score":9.8,"headline":"Security feature bypass in n/a","id":"CVE-2017-1000374","kev_date_added":null,"published":"2017-06-19"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-1000375","kev_date_added":null,"published":"2017-06-19"},{"cvss_score":9.8,"headline":"Denial of service in n/a","id":"CVE-2017-1000378","kev_date_added":null,"published":"2017-06-19"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2015-8212","kev_date_added":null,"published":"2017-01-19"},{"cvss_score":9.3,"headline":"Denial of service in n/a","id":"CVE-2008-3584","kev_date_added":null,"published":"2008-09-11"},{"cvss_score":9.3,"headline":"Security feature bypass in n/a","id":"CVE-2008-1335","kev_date_added":null,"published":"2008-03-13"},{"cvss_score":7.8,"headline":"Path traversal in n/a","id":"CVE-2016-6253","kev_date_added":null,"published":"2017-01-20"}],"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-08","vendors":["n/a"]},"summary":"Local attackers can gain root privileges because the systrace utility fails to verify the connection owner before elevating privileges.","url":"https://insights.sbomify.com/CVE-2004-2012/"}