CVE Vulnerabilities

CVE-2024-2313

Insecure Temporary File

Published: Mar 10, 2024 | Modified: Aug 25, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
2.8 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

Creating and using insecure temporary files can leave application and system data vulnerable to attack.

Affected Software

NameVendorStart VersionEnd Version
BpftraceBpftrace*0.20.2 (excluding)
Red Hat Enterprise Linux 8RedHatbpftrace-0:0.16.0-6.el8_10*
Red Hat Enterprise Linux 9RedHatbpftrace-0:0.21.1-1.el9*
BpftraceUbuntuupstream*

References