Every CVE Search/ Get API key

CVE-2024-2313

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

2.8 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.18%Up 0.1 points since Mar 11, 2024
90%50%10%1%

What each source reports

CVE List Score used 2.8

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.

Record
CVE-2024-2313
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Weakness
CWE-377
Updated
2026-11-02
EUVDEUVD-2024-27268 2.8

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.

Record
EUVD-2024-27268
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-ph92-w482-m4jj 2.8

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

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.

Record
GHSA-ph92-w482-m4jj
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Weakness
CWE-377
Updated
2026-11-02
NVD 2.8

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.

Record
CVE-2024-2313
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Weakness
CWE-377
Updated
2026-11-02
OSV 2.8

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.

Record
CVE-2024-2313
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Updated
2026-11-02
OSVDEBIAN-CVE-2024-2313 2.8

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.

Record
DEBIAN-CVE-2024-2313
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Updated
2026-11-02
Show 10 moreShow less
OSVRHSA-2024:8830 2.8

Red Hat Security Advisory: bpftrace security update

Record
RHSA-2024:8830
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Updated
2026-11-02
OSVRHSA-2024:9188 2.8

Red Hat Security Advisory: bpftrace security update

Record
RHSA-2024:9188
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Updated
2026-11-02
OSVALSA-2024:8830 No score

Low: bpftrace security update

BPFtrace is a high-level tracing language for Linux enhanced Berkeley Packet Filter (eBPF) available in recent Linux kernels (4.x). BPFtrace uses LLVM as a backend to compile scripts to BPF-bytecode and makes use of BCC for interacting with the Linux BPF system, as well as existing Linux tracing capabilities: kernel dynamic tracing (kprobes), user-level dynamic tracing (uprobes), and tracepoints. The BPFtrace language is inspired by awk and C, and predecessor tracers such as DTrace and SystemTap

Security Fix(es):

  • bpftrace: unprivileged users can force loading of compromised linux headers (CVE-2024-2313)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:8830
Updated
2026-11-02
OSVALSA-2024:9188 No score

Low: bpftrace security update

BPFtrace is a high-level tracing language for Linux enhanced Berkeley Packet Filter (eBPF) available in recent Linux kernels (4.x). BPFtrace uses LLVM as a backend to compile scripts to BPF-bytecode and makes use of BCC for interacting with the Linux BPF system, as well as existing Linux tracing capabilities: kernel dynamic tracing (kprobes), user-level dynamic tracing (uprobes), and tracepoints. The BPFtrace language is inspired by awk and C, and predecessor tracers such as DTrace and SystemTap

Security Fix(es):

  • bpftrace: unprivileged users can force loading of compromised linux headers (CVE-2024-2313)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2024:9188
Updated
2026-11-02
OSVAZL-35836 No score

CVE-2024-2313 affecting package bpftrace for versions less than 0.16.0-3

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.

Record
AZL-35836
Updated
2026-11-02
OSVAZL-35874 No score

CVE-2024-2313 affecting package bpftrace for versions less than 0.20.3-1

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.

Record
AZL-35874
Updated
2026-11-02
OSVCLSA-2026-1778080357 No score

bpftrace: Fix of CVE-2024-2313

  • CVE-2024-2313: Prevent bpftrace from loading compromised Linux headers when extracting kernel headers from temporary directory
Record
CLSA-2026-1778080357
Updated
2026-11-02
OSVopenSUSE-SU-2024:13986-1 No score

bpftrace-0.20.4-1.1 on GA media

These are all security issues fixed in the bpftrace-0.20.4-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13986-1
Updated
2026-11-02
OSVRLSA-2024:8830 No score

Low: bpftrace security update

BPFtrace is a high-level tracing language for Linux enhanced Berkeley Packet Filter (eBPF) available in recent Linux kernels (4.x). BPFtrace uses LLVM as a backend to compile scripts to BPF-bytecode and makes use of BCC for interacting with the Linux BPF system, as well as existing Linux tracing capabilities: kernel dynamic tracing (kprobes), user-level dynamic tracing (uprobes), and tracepoints. The BPFtrace language is inspired by awk and C, and predecessor tracers such as DTrace and SystemTap

Security Fix(es):

  • bpftrace: unprivileged users can force loading of compromised linux headers (CVE-2024-2313)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2024:8830
Updated
2026-11-02
OSVRLSA-2024:9188 No score

Low: bpftrace security update

BPFtrace is a high-level tracing language for Linux enhanced Berkeley Packet Filter (eBPF) available in recent Linux kernels (4.x). BPFtrace uses LLVM as a backend to compile scripts to BPF-bytecode and makes use of BCC for interacting with the Linux BPF system, as well as existing Linux tracing capabilities: kernel dynamic tracing (kprobes), user-level dynamic tracing (uprobes), and tracepoints. The BPFtrace language is inspired by awk and C, and predecessor tracers such as DTrace and SystemTap

Security Fix(es):

  • bpftrace: unprivileged users can force loading of compromised linux headers (CVE-2024-2313)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 9.5 Release Notes linked from the References section.

Record
RLSA-2024:9188
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
bpftrace
AlmaLinux:8
before 0.16.0-6.el8_10
0.16.0-6.el8_10
bpftrace
AlmaLinux:9
before 0.21.1-1.el9
0.21.1-1.el9
bpftrace
Azure Linux:2
before 0.16.0-3
0.16.0-3
bpftrace
Azure Linux:3
before 0.20.3-1
0.20.3-1
bpftrace
TuxCare:AlmaLinux:9.2
before 0.16.0-2.el9.tuxcare.els1
0.16.0-2.el9.tuxcare.els1
bpftrace
Debian:12
All versions, plus listed versions
0.17.0-10.17.0-20.19.0-10.19.1-10.20.0-1
Show 18 moreShow less
0.20.1-10.20.2-10.21.0-10.21.2-10.21.2-20.21.3-10.22.1-10.23.1-10.23.2-10.23.5-10.24.1-10.24.1-1.10.25.0-10.25.1-10.26.1-10.26.1-1.10.27.0-10.27.1-1
None known
bpftrace
Debian:13
before 0.21.0-1
0.21.0-1
bpftrace
Debian:14
before 0.21.0-1
0.21.0-1
bpftrace
Red Hat:enterprise_linux:8::appstream
before 0:0.16.0-6.el8_10
0:0.16.0-6.el8_10
bpftrace-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:0.16.0-6.el8_10
0:0.16.0-6.el8_10
Show 6 moreShow less
Affected packages
PackageAffectedFixed
bpftrace-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:0.16.0-6.el8_10
0:0.16.0-6.el8_10
bpftrace
Red Hat:enterprise_linux:9::appstream
before 0:0.21.1-1.el9
0:0.21.1-1.el9
bpftrace-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:0.21.1-1.el9
0:0.21.1-1.el9
bpftrace-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:0.21.1-1.el9
0:0.21.1-1.el9
bpftrace
Rocky Linux:8
before 0:0.16.0-6.el8_10
0:0.16.0-6.el8_10
bpftrace
Rocky Linux:9
before 0:0.21.1-1.el9
0:0.21.1-1.el9

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-2313 is a low vulnerability (CVSS 2.8) in Bpftrace, published March 10, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.18%, the 7th percentile. Fixed in bpftrace 0.16.0-6.el8_10.

References

Show 18 moreShow less
MoveEnter Open