CVE-2024-2313
published low CVSS 3.1 · 2.8bpftrace: unprivileged users can force loading of compromised linux headers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| bpftrace | — | bpftrace0 to < v0.20.2 · Platforms: Linux | Unaffected | Not stated | canonical |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2552 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-627 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftrace | Advisory build | 0.16.0-6.el8_10 | ALSA-2024:8830 |
| Oracle Linux | 8 | bpftraceaarch64 | Advisory build | 0:0.16.0-6.el8_10 | ELSA-2024-8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftraceaarch64 | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bpftraceaarch64 | Advisory build | 0.20.4-1.1 | OPENSUSE-SU-2024:13986-1 |
| Amazon Linux | AL2 | bpftraceaarch64 | Listed in advisory | Not stated | ALAS2-2024-2552 |
Show 61 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Rocky Linux | 8 | bpftraceaarch64 | Listed in advisory | Not stated | RLSA-2024:8830 |
| AlmaLinux | 9 | bpftrace | Advisory build | 0.21.1-1.el9 | ALSA-2024:9188 |
| Oracle Linux | 8 | bpftracex86_64 | Advisory build | 0:0.16.0-6.el8_10 | ELSA-2024-8830 |
| Oracle Linux | 9 | bpftraceaarch64 | Advisory build | 0:0.21.1-1.el9 | ELSA-2024-9188 |
| Oracle Linux | 9 | bpftracex86_64 | Advisory build | 0:0.21.1-1.el9 | ELSA-2024-9188 |
| Red Hat Enterprise Linux | RHEL-8 | bpftraceppc64le | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftraces390x | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftracesrc | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftracex86_64 | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-9 | bpftraceaarch64 | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftraceppc64le | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftraces390x | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftracesrc | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftracex86_64 | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bpftraceppc64le | Advisory build | 0.20.4-1.1 | OPENSUSE-SU-2024:13986-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bpftraces390x | Advisory build | 0.20.4-1.1 | OPENSUSE-SU-2024:13986-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bpftracex86_64 | Advisory build | 0.20.4-1.1 | OPENSUSE-SU-2024:13986-1 |
| Red Hat Enterprise Linux | RHEL-8 | bpftrace-debuginfoaarch64 | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftrace-debuginfoppc64le | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftrace-debuginfos390x | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftrace-debuginfox86_64 | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftrace-debugsourceaarch64 | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftrace-debugsourceppc64le | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftrace-debugsources390x | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-8 | bpftrace-debugsourcex86_64 | Advisory build | 0.16.0-6.el8_10 | RHSA-2024:8830 |
| Red Hat Enterprise Linux | RHEL-9 | bpftrace-debuginfoaarch64 | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftrace-debuginfoppc64le | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftrace-debuginfos390x | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftrace-debuginfox86_64 | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftrace-debugsourceaarch64 | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftrace-debugsourceppc64le | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftrace-debugsources390x | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| Red Hat Enterprise Linux | RHEL-9 | bpftrace-debugsourcex86_64 | Advisory build | 0.21.1-1.el9 | RHSA-2024:9188 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bpftrace-toolsaarch64 | Advisory build | 0.20.4-1.1 | OPENSUSE-SU-2024:13986-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bpftrace-toolsppc64le | Advisory build | 0.20.4-1.1 | OPENSUSE-SU-2024:13986-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bpftrace-toolss390x | Advisory build | 0.20.4-1.1 | OPENSUSE-SU-2024:13986-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bpftrace-toolsx86_64 | Advisory build | 0.20.4-1.1 | OPENSUSE-SU-2024:13986-1 |
| Amazon Linux | AL2 | bpftracesrc | Listed in advisory | Not stated | ALAS2-2024-2552 |
| Amazon Linux | AL2 | bpftracex86_64 | Listed in advisory | Not stated | ALAS2-2024-2552 |
| Amazon Linux | AL2023 | bpftraceaarch64 | Listed in advisory | Not stated | ALAS2023-2024-627 |
| Amazon Linux | AL2023 | bpftracesrc | Listed in advisory | Not stated | ALAS2023-2024-627 |
| Amazon Linux | AL2023 | bpftracex86_64 | Listed in advisory | Not stated | ALAS2023-2024-627 |
| Rocky Linux | 8 | bpftracesrc | Listed in advisory | Not stated | RLSA-2024:8830 |
| Rocky Linux | 8 | bpftracex86_64 | Listed in advisory | Not stated | RLSA-2024:8830 |
| Rocky Linux | 9 | bpftraceaarch64 | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftraceppc64le | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftraces390x | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftracesrc | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftracex86_64 | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 8 | bpftrace-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2024:8830 |
| Rocky Linux | 8 | bpftrace-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2024:8830 |
| Rocky Linux | 8 | bpftrace-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2024:8830 |
| Rocky Linux | 8 | bpftrace-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2024:8830 |
| Rocky Linux | 9 | bpftrace-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftrace-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftrace-debuginfos390x | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftrace-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftrace-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftrace-debugsourceppc64le | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftrace-debugsources390x | Listed in advisory | Not stated | RLSA-2024:9188 |
| Rocky Linux | 9 | bpftrace-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2024:9188 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.8 / 10
- Severity
- low
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| bpftrace | bpftrace | 0 to < v0.20.2 (unaffected · semver) | canonical · cna |
Weaknesses
1- CWE-377 CWE-377 Insecure Temporary File
References
2Provider assertions
3canonical · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7c94c1ea52143e6c8cf5b49820c0720b85fae67b242eb97ee29ee799994067ac
- Ingested
- 23 Sep 2026, 08:21:43 UTC
- Source record
- Official CVE record