CVE-2024-2313
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.
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
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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
bpftraceAlmaLinux:8 |
before 0.16.0-6.el8_10 | 0.16.0-6.el8_10 |
bpftraceAlmaLinux:9 |
before 0.21.1-1.el9 | 0.21.1-1.el9 |
bpftraceAzure Linux:2 |
before 0.16.0-3 | 0.16.0-3 |
bpftraceAzure Linux:3 |
before 0.20.3-1 | 0.20.3-1 |
bpftraceTuxCare:AlmaLinux:9.2 |
before 0.16.0-2.el9.tuxcare.els1 | 0.16.0-2.el9.tuxcare.els1 |
bpftraceDebian: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 less0.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 |
bpftraceDebian:13 |
before 0.21.0-1 | 0.21.0-1 |
bpftraceDebian:14 |
before 0.21.0-1 | 0.21.0-1 |
bpftraceRed Hat:enterprise_linux:8::appstream |
before 0:0.16.0-6.el8_10 | 0:0.16.0-6.el8_10 |
bpftrace-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.16.0-6.el8_10 | 0:0.16.0-6.el8_10 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
bpftrace-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:0.16.0-6.el8_10 | 0:0.16.0-6.el8_10 |
bpftraceRed Hat:enterprise_linux:9::appstream |
before 0:0.21.1-1.el9 | 0:0.21.1-1.el9 |
bpftrace-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:0.21.1-1.el9 | 0:0.21.1-1.el9 |
bpftrace-debugsourceRed Hat:enterprise_linux:9::appstream |
before 0:0.21.1-1.el9 | 0:0.21.1-1.el9 |
bpftraceRocky Linux:8 |
before 0:0.16.0-6.el8_10 | 0:0.16.0-6.el8_10 |
bpftraceRocky Linux:9 |
before 0:0.21.1-1.el9 | 0:0.21.1-1.el9 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE 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
github.com/bpftrace/bpftrace/commit/4be4b7191acb8218240e6b7178c30fa8c9b59998
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2313
nvd.nist.gov/vuln/detail/CVE-2024-2313
github.com/advisories/GHSA-ph92-w482-m4jj
access.redhat.com/errata/RHSA-2024:8830
access.redhat.com/security/cve/CVE-2024-2313
Show 18 moreShow less
bugzilla.redhat.com/2269014
errata.almalinux.org/8/ALSA-2024-8830.html
access.redhat.com/errata/RHSA-2024:9188
errata.almalinux.org/9/ALSA-2024-9188.html
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1778080357.html
github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2313.json
github.com/bpftrace/bpftrace
security-tracker.debian.org/tracker/CVE-2024-2313
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2269014
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_8830.json
cve.org/CVERecord?id=CVE-2024-2313
docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index
issues.redhat.com/browse/RHEL-30779
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_9188.json
errata.rockylinux.org/RLSA-2024:8830
errata.rockylinux.org/RLSA-2024:9188
suse.com/security/cve/CVE-2024-2313