CVE-2024-2313
CVE-2024-2313 is a low-severity vulnerability in Bpftrace with a CVSS 3.x base score of 2.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-377.
Key facts
- Severity: Low (CVSS 3.x base score 2.8)
- EPSS exploit prediction: 0% (8th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-27268
- Weakness: CWE-377
- Affected product: Bpftrace
- Published:
- Last modified:
Description
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 not affected by default.
Frequently asked questions
- What is CVE-2024-2313?
- 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 not affected by default.
- How severe is CVE-2024-2313?
- CVE-2024-2313 has a CVSS 3.x base score of 2.8, rated low severity. It is exploitable over local access with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2024-2313 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (8th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-2313?
- CVE-2024-2313 affects Bpftrace. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-2313?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-2313 have an EU (EUVD) identifier?
- Yes. CVE-2024-2313 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-27268.
- When was CVE-2024-2313 published?
- CVE-2024-2313 was published on 2024-03-10 and last updated on 2026-06-17.
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2313
- https://github.com/bpftrace/bpftrace/commit/4be4b7191acb8218240e6b7178c30fa8c9b59998
Affected products (1)
- cpe:2.3:a:bpftrace:bpftrace:*:*:*:*:*:*:*:*
Other CWE-377 (Insecure Temporary File) vulnerabilities
- CVE-2011-4119 — Critical (CVSS 9.8): caml-light <= 0.75 uses mktemp() insecurely, and also does unsafe things in /tmp during make install.
- CVE-2012-2666 — Critical (CVSS 9.8): golang/go in 1.0.2 fixes all.bash on shared machines. dotest() in src/pkg/debug/gosym/pclntab_test.go creates a…
- CVE-2015-5224 — Critical (CVSS 9.8): The mkostemp function in login-utils in util-linux when used incorrectly allows remote attackers to cause file name…
- CVE-2025-14307 — High (CVSS 8.1): An insecure temporary file creation vulnerability exists in the AutoExtract component of Robocode version 1.9.3.6. The…
- CVE-2023-43498 — High (CVSS 8.1): In Jenkins 2.423 and earlier, LTS 2.414.1 and earlier, processing file uploads using MultipartFormDataParser creates…
- CVE-2025-46369 — High (CVSS 7.8): Dell Alienware Command Center 6.x (AWCC), versions prior to 6.10.15.0, contains an Insecure Temporary File…
Browse all CWE-377 (Insecure Temporary File) vulnerabilities →