CVE-2004-2012: Netbsd
High severity, CVSS 7.2. EPSS: 0.9% chance of exploitation in the next 30 days.
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.
Affected products
- Netbsd Netbsd: version 2.0 only
- Niels Provos Systrace: version 1.1 only; version 1.2 only; version 1.3 only; version 1.4 only; version 1.5 only
- Vladimir Kotal Systrace Port For Freebsd: version 2004-03-09 only; version 2004-06-02 only
Published 2004-12-31. Last modified 2026-06-16.