Security Resilience

CVE-2024-2313

Bpftrace ≤ 0.20.2

Published
10 March 2024
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 2.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
EPSS Score 0.0018 8th percentile
Risk Priority 24 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-2313 is a low-severity Insecure Temporary File (CWE-377) vulnerability in Bpftrace. Its CVSS base score is 2.8 (Low).

Operationally, ranked at the 8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

If kernel headers need to be extracted, bpftrace will attempt to load them from a temporary directory. An unprivileged attacker could use this to force bcc to load compromised linux headers. Linux distributions which provide kernel headers by default are…

more

not affected by default.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-50244Related weakness
CVE-2024-46678Related weakness
CVE-2024-56712Related weakness
CVE-2024-36956Related weakness
CVE-2024-26732Related weakness
CVE-2024-42162Related weakness
CVE-2023-52788Related weakness
CVE-2024-36270Related weakness
CVE-2024-56695Related weakness
CVE-2024-50148Related weakness

Affected Assets

bpftrace
bpftrace
≤ 0.20.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-3 enforces file-system access authorizations so that temporary files cannot be read or modified by unauthorized processes.

AC-6 reduces the privileges available to processes that create or access temporary files, limiting blast radius if a file is predictable or left readable.

SC-4 directly stops unauthorized information leakage through shared resources such as world-writable temporary directories.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect insecure temporary files but does not prevent their creation.

prevents

Secure coding standards explicitly require safe temporary-file APIs and permissions.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-377, a class-level weakness. Rules are authored against its narrower children: CWE-379.

References