{"id":"CVE-2004-2012","aliases":["EUVD-2004-2004","GHSA-hh57-6r48-4q3g"],"status":"published","title":"The systrace_exit function in the systrace utility for NetBSD-current and 2.0 before April 16,...","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.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00854,"percentile":0.5857,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2004-12-31T05:00:00Z","modified":"2026-06-16T22:08:49Z","exploits":[{"source":"exploitdb","id":"EDB-24113","title":"NetBSD/FreeBSD Port Systrace 1.x - Exit Routine Access Validation Privilege Escalation","type":"local","platform":"bsd","date":"2004-05-11","verified":true,"url":"https://www.exploit-db.com/exploits/24113"}],"products":[{"vendor":"netbsd","product":"netbsd"},{"vendor":"niels","product":"provos_systrace"},{"vendor":"vladimir_kotal","product":"systrace_port_for_freebsd"}],"references":[{"url":"http://marc.info/?l=bugtraq\u0026m=108432258920570\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/bid/10320","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16110","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/11585","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2004-007.txt.asc","tags":["vendor-advisory","x_refsource_NETBSD","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-2012"},{"url":"https://github.com/advisories/GHSA-hh57-6r48-4q3g"}],"sources":{"cve":[{"id":"CVE-2004-2012","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.","status":"published","published":"2005-05-10T04:00:00Z","modified":"2024-08-08T01:15:01.112Z","updated_at":"2026-11-02T14:34:53.70484Z"}],"euvd":[{"id":"EUVD-2004-2004","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.","status":"published","published":"2005-05-10T04:00:00Z","modified":"2024-08-08T01:15:01Z","updated_at":"2026-11-03T01:15:12.315673Z"}],"ghsa":[{"id":"GHSA-hh57-6r48-4q3g","title":"The systrace_exit function in the systrace utility for NetBSD-current and 2.0 before April 16,...","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.","status":"published","published":"2022-05-03T03:13:16Z","modified":"2023-02-01T05:01:10Z","updated_at":"2026-11-02T14:49:41.113902Z"}],"nvd":[{"id":"CVE-2004-2012","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-06-16T22:08:49.547Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:52.459805Z"}]}}
