CVE-2024-2313 Affecting bpftrace package, versions <0:0.21.1-1.el9
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALMALINUX9-BPFTRACE-8383620
- published 18 Nov 2024
- disclosed 12 Nov 2024
How to fix?
Upgrade AlmaLinux:9
bpftrace
to version 0:0.21.1-1.el9 or higher.
This issue was patched in ALSA-2024:9188
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream bpftrace
package and not the bpftrace
package as distributed by AlmaLinux
.
See How to fix?
for AlmaLinux:9
relevant fixed versions and status.
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.
References
- https://errata.almalinux.org/8/ALSA-2024-8830.html
- https://errata.almalinux.org/9/ALSA-2024-9188.html
- https://access.redhat.com/security/cve/CVE-2024-2313
- https://access.redhat.com/errata/RHSA-2024:8830
- https://access.redhat.com/errata/RHSA-2024:9188
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2313
- https://github.com/bpftrace/bpftrace/commit/4be4b7191acb8218240e6b7178c30fa8c9b59998