CVE-2024-2313 Affecting bpftrace package, versions <0:0.21.1-1.el9


Severity

Recommended
low

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.02% (3rd percentile)

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 IDSNYK-ROCKY9-BPFTRACE-9464341
  • published18 Mar 2025
  • disclosed10 Mar 2024

Introduced: 10 Mar 2024

CVE-2024-2313  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:9 bpftrace to version 0:0.21.1-1.el9 or higher.
This issue was patched in RLSA-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 Rocky-Linux. See How to fix? for Rocky-Linux: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.

CVSS Base Scores

version 3.1