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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.854%
chance of exploitation in the next 30 days
higher than 58.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Timeline

  1. 2004-05-11First Exploit-DB entry (EDB-ID 24113)234 days before publication
  2. 2004-12-31Published
  3. 2005-05-10Published by the CNA04:00 UTC · 130 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 24113localbsd2004-05-11yes

Affected products

VendorProduct
netbsdnetbsd
nielsprovos_systrace
vladimir_kotalsystrace_port_for_freebsd

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources