{"id":"CVE-2004-2012","aliases":["EDB-24113"],"kind":"cve","tier":"cold","status":"published","title":"The systrace_exit function in the systrace utility for NetBSD-current and 2.0 before April 16, 2004, and certain FreeBS…","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.","ai_summary":null,"severity":"high","cvss":{"score":7.2,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","source":"NVD"},"scores":[{"score":7.2,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","source":"nvd"}],"cwe":[],"remote":false,"remote_unauth":false,"epss":{"score":0.00854,"percentile":0.55803,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[24113]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://www.securityfocus.com/bid/10320","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/24113","kind":"exploit"},{"url":"http://marc.info/?l=bugtraq&m=108432258920570&w=2","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16110","kind":"other"},{"url":"http://secunia.com/advisories/11585","kind":"other"}],"workarounds":null,"vendors":["netbsd","niels","vladimir_kotal"],"products":["netbsd","provos_systrace","systrace_port_for_freebsd"],"cpes":["cpe:2.3:a:niels:provos_systrace:1.1:*:*:*:*:*:*:*","cpe:2.3:a:niels:provos_systrace:1.2:*:*:*:*:*:*:*","cpe:2.3:a:niels:provos_systrace:1.3:*:*:*:*:*:*:*","cpe:2.3:a:niels:provos_systrace:1.4:*:*:*:*:*:*:*","cpe:2.3:a:niels:provos_systrace:1.5:*:*:*:*:*:*:*","cpe:2.3:a:vladimir_kotal:systrace_port_for_freebsd:2004-03-09:*:*:*:*:*:*:*","cpe:2.3:a:vladimir_kotal:systrace_port_for_freebsd:2004-06-02:*:*:*:*:*:*:*","cpe:2.3:o:netbsd:netbsd:2.0:*:*:*:*:*:*:*"],"published_at":"2004-05-11T00:00:00.000Z","modified_at":"2026-06-16T22:08:49.547Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2004-2012"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/24113"}],"links":{"html":"https://flawdb.com/CVE-2004-2012","markdown":"https://flawdb.com/CVE-2004-2012.md","json":"https://flawdb.com/api/v1/entries/CVE-2004-2012"}}