CVE-2004-2012
CVE-2004-2012 is a high-severity vulnerability in Niels Provos Systrace with a CVSS 2.0 base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 2.0 base score 7.2)
- EPSS exploit prediction: 1% (54th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Niels Provos Systrace
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2004-2012?
- 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.
- How severe is CVE-2004-2012?
- CVE-2004-2012 has a CVSS 2.0 base score of 7.2, rated high severity.
- Is CVE-2004-2012 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (54th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2004-2012?
- CVE-2004-2012 primarily affects Niels Provos Systrace. In total, 8 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2004-2012?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2004-2012 published?
- CVE-2004-2012 was published on 2004-12-31 and last updated on 2026-06-16.
References
- ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2004-007.txt.asc
- http://marc.info/?l=bugtraq&m=108432258920570&w=2
- http://secunia.com/advisories/11585
- http://www.securityfocus.com/bid/10320
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16110
Affected products (8)
- 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:*:*:*:*:*:*:*