Skip to content
Fencer Vulns
low 2.8

CVE-2024-2313 json

If kernel headers need to be extracted, bpftrace will attempt to load them from a temporary directory.

published 2024-03-10 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-27268

cvss
2.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 7%
public exploits
0
none known

Summary

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.

Patch / fix

  • bpftrace bpftrace 0.20.2
  • bpftrace Debian 14, Debian 13 0.21.0-1

debian advisories DEBIAN-CVE-2024-2313

  • bpftrace RHEL 9 0.21.1-1.el9
  • bpftrace RHEL 8 0.16.0-6.el8_10

red hat advisories RHSA-2024:9188RHSA-2024:8830

  • bpftrace AlmaLinux 9 0.21.1-1.el9
  • bpftrace AlmaLinux 8 0.16.0-6.el8_10

almalinux advisories ALSA-2024:9188ALSA-2024:8830

  • bpftrace Rocky Linux 9 0.21.1-1.el9
  • bpftrace Rocky Linux 8 0.16.0-6.el8_10

rocky linux advisories RLSA-2024:9188RLSA-2024:8830

  • bpftrace CBL-Mariner 2.0 0.16.0-3
  • bpftrace Azure Linux 3.0 0.20.3-1

azure linux advisories AZL-35836AZL-35874

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-2313 updated cvss 2.8

bpftrace: unprivileged users can force loading of compromised linux headers

  • Red Hat Enterprise Linux AppStream (v. 8) bpftrace 0.16.0-6.el8_10
    fixed: vendor fix RHSA-2024:8830
  • Red Hat Enterprise Linux AppStream (v. 9) bpftrace 0.21.1-1.el9
    fixed: vendor fix RHSA-2024:9188

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 2.8 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L

Affected products

  • bpftrace bpftrace

Classification

Weakness
  • CWE-377 DEPRECATED: Insecure Temporary File

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.