CVE & CISA-KEV Catalog

CVE-2024-2313

LOW
2.8
CVSS v3
NVD

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.

How to fix

Remediation Available
bpftraceAmazon
Fixed in:0:0.12.1-2.amzn2.0.2
Fixed in:0:0.12.1-2.amzn2.0.2
Fixed in:0:0.17.0-1.amzn2023.0.1
Fixed in:0:0.17.0-1.amzn2023.0.1
bpftrace-debuginfoAmazon
Fixed in:0:0.12.1-2.amzn2.0.2
Fixed in:0:0.12.1-2.amzn2.0.2
Fixed in:0:0.17.0-1.amzn2023.0.1
Fixed in:0:0.17.0-1.amzn2023.0.1
bpftrace-debugsourceAmazon
Fixed in:0:0.17.0-1.amzn2023.0.1
Fixed in:0:0.17.0-1.amzn2023.0.1
bpftraceDebian
Fixed in:0.21.0-1CVE-2024-2313
Fixed in:0.21.0-1CVE-2024-2313
bpftraceRocky
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
bpftraceRed Hat / RHEL
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
bpftrace-debuginfoRed Hat / RHEL
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
bpftrace-debuginfoRocky
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
bpftrace-debugsourceRocky
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
bpftrace-debugsourceRed Hat / RHEL
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.16.0-6.el8_10RHSA-2024:8830
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188
Fixed in:0:0.21.1-1.el9RHSA-2024:9188

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeChanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L

Exploit Intelligence

0.18%probability of exploitation in 30 days
8thpercentile

Low risk: more likely to be exploited than 8% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-377 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-5224Critical9.84.5%-Fix
CVE-2026-20204High7.13.1%-Fix
CVE-2018-3710High7.82.8%-Fix
CVE-2017-16024Medium6.52.6%-Fix
CVE-2012-2666Critical9.81.9%--
CVE-2018-16494High8.81.9%-Fix

Common questions

How do I fix CVE-2024-2313?

Published advisories record a fix for 10 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2024-2313 being actively exploited?

Not that we know of. CVE-2024-2313 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.18% is the estimated probability that it will be exploited in the next 30 days. That is higher than 8% of all scored CVEs.

How severe is CVE-2024-2313?

CVE-2024-2313 has a CVSS v3 base score of 2.8, rated low. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-2313 affect?

Published advisories record a fix for bpftrace (Amazon), bpftrace-debuginfo (Amazon), bpftrace-debugsource (Amazon), bpftrace (Debian), and 6 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-2313
CVE-2024-2313 severity badge

Markdown

[![CVE-2024-2313](https://tridentstack.com/cve/badge/CVE-2024-2313.svg)](https://tridentstack.com/cve/CVE-2024-2313)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-2313"><img src="https://tridentstack.com/cve/badge/CVE-2024-2313.svg" alt="CVE-2024-2313"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.