What’s Vulnerable › Vulnerabilities
CVE-2024-6760: ktrace(2) fails to detach when executing a setuid binary
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-12 · updated 2026-06-17
- Weakness: CWE-862
Description
A logic bug in the code which disables kernel tracing for setuid programs meant that tracing was not disabled when it should have, allowing unprivileged users to trace and inspect the behavior of setuid programs. The bug may be used by an unprivileged user to read the contents of files to which they would not otherwise have access, such as the local password database.
Affected products
- FreeBSD: before 13.0; from 13.1 before 13.3; 13.3-p1, 13.3-p2, 13.3-p3, 13.3-p4, 14.0-beta5, 14.0-p1 (+11) — fixed in 13.0, 13.3
How to fix
Upgrade to a fixed version: FreeBSD 13.0, 13.3. Check the vendor advisory for mitigations.
References
- https://security.freebsd.org/advisories/FreeBSD-SA-24:06.ktrace.asc
- https://security.netapp.com/advisory/ntap-20240816-0010/
Get alerted when CVE-2024-6760 or the next vulnerability affects your stack