cve.bz

CVE-2024-2313 bpftrace bpftrace: Insecure Temporary File

2.8 lowEPSS 0.2%Fix available

Low (2.8) in bpftrace bpftrace. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-03-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-377 Insecure Temporary File deprecated by MITRE
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-2313 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-2313?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-2313?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-2313 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
bpftrace:bpftracebefore 0.20.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12bpftraceno fix listedDEBIAN-CVE-2024-2313
Debian13, 14bpftrace0.21.0-1DEBIAN-CVE-2024-2313
Red Hatenterprise_linux:8::appstreambpftrace, bpftrace-debuginfo, bpftrace-debugsource0:0.16.0-6.el8_10RHSA-2024:8830
Red Hatenterprise_linux:9::appstreambpftrace, bpftrace-debuginfo, bpftrace-debugsource0:0.21.1-1.el9RHSA-2024:9188
AlmaLinux8bpftrace0.16.0-6.el8_10ALSA-2024:8830
AlmaLinux9bpftrace0.21.1-1.el9ALSA-2024:9188
Rocky Linux8bpftrace0:0.16.0-6.el8_10RLSA-2024:8830
Rocky Linux9bpftrace0:0.21.1-1.el9RLSA-2024:9188
Azure Linux2bpftrace0.16.0-3AZL-35836
Azure Linux3bpftrace0.20.3-1AZL-35874

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This flaw is triggered by handling malicious input and the overall impact is considered minimal.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8bpftrace-0:0.16.0-6.el8_10Fixed 2024-11-05RHSA-2024:8830
Red Hat Enterprise Linux 9bpftrace-0:0.21.1-1.el9Fixed 2024-11-12RHSA-2024:9188

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-2313.

Attack patterns (CAPEC)

  • CAPEC-149 Explore for Predictable Temporary File Names Severity: Medium
  • CAPEC-155 Screen Temporary Files for Sensitive Information Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON