CVE-2024-2313
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | bpftrace | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | bpftrace | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | bpftrace | Not affected vulnerable_code_not_present | ||
| Debian 14 | bpftrace | Fixed | 0.21.0-1 | DEBIAN-CVE-2024-2313 |
| Debian 13 | bpftrace | Fixed | 0.21.0-1 | DEBIAN-CVE-2024-2313 |
| Debian 12 | bpftrace | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2024-2313 | |
| Red Hat Enterprise Linux 9 | bpftrace | Fixed | 0:0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux 8 | bpftrace | Fixed | 0:0.16.0-6.el8_10 | RHSA-2024:8830 |
| AlmaLinux 9 | bpftrace | Fixed | 0.21.1-1.el9 | ALSA-2024:9188 |
| AlmaLinux 8 | bpftrace | Fixed | 0.16.0-6.el8_10 | ALSA-2024:8830 |
| Rocky Linux 9 | bpftrace | Fixed | 0:0.21.1-1.el9 | RLSA-2024:9188 |
| Rocky Linux 8 | bpftrace | Fixed | 0:0.16.0-6.el8_10 | RLSA-2024:8830 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- bpftrace
Vendor advisories:
References
- https://github.com/bpftrace/bpftrace/commit/4be4b7191acb8218240e6b7178c30fa8c9b59998
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2313
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.