Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-2313: If kernel headers need to be extracted, bpftrace will attempt to load them from a temporary directory

12
Routine
LOW 2.8UPGRADE

CVE-2024-2313 is a low-severity flaw (CVSS 2.8) affecting bpftrace. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score2.8 (Low)
Attack vectorLocal
Attack complexityHigh
Privileges neededLow
User interactionNone
EPSS exploit chance0.2% (top 92%)
CISA exploited listNo
WeaknessCWE-377
Published2024-03-10
Last modified2026-06-17
Publisher (CNA): Canonical Ltd. · Vendor: bpftrace

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

bpftrace bpftrace UPGRADE
Affected: < 0.20.2
Fixed in: 0.20.2
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy bpftrace || rpm -q bpftrace || bpftrace --version
2. UPGRADE to 0.20.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade bpftrace
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade bpftrace
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-2313?

bpftrace: upgrade to 0.20.2. Exact commands for each OS are on this page.

Is CVE-2024-2313 being exploited?

CVE-2024-2313 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-2313 affect?

CVE-2024-2313 affects bpftrace. Severity is low (CVSS 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

How urgent is CVE-2024-2313?

Priority 12/100. No elevated risk signals yet.

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.