IOVisor BPF Compiler Collection on Linux Kernel Header kbuild_helper.cc KBuildHelper::get_flags temp file

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.2$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in IOVisor BPF Compiler Collection on Linux. This affects the function KBuildHelper::get_flags of the file src/cc/frontends/clang/kbuild_helper.cc of the component Kernel Header Handler. Executing a manipulation can lead to temp file. The identification of this vulnerability is CVE-2024-2314. The attack can only be executed locally. There is no exploit available. It is advisable to implement a patch to correct this issue.

Detailsinfo

A vulnerability has been found in IOVisor BPF Compiler Collection on Linux (unknown version) and classified as problematic. This vulnerability affects the function KBuildHelper::get_flags of the file src/cc/frontends/clang/kbuild_helper.cc of the component Kernel Header Handler. The manipulation with an unknown input leads to a temp file vulnerability. The CWE definition for the vulnerability is CWE-377. Creating and using insecure temporary files can leave application and system data vulnerable to attack. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

If kernel headers need to be extracted, bcc 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.

The weakness was shared 03/11/2024 by Mark Esler as 008ea09e891194c072f2a9305a3c872a241dc342. The advisory is shared for download at github.com. This vulnerability was named CVE-2024-2314 since 03/07/2024. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 210348 (RHEL 8 : bcc (RHSA-2024:8831)), which helps to determine the existence of the flaw in a target environment.

Applying the patch 008ea09e891194c072f2a9305a3c872a241dc342 is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the vulnerability database at Tenable (210348). Once again VulDB remains the best source for vulnerability data.

Productinfo

Vendor

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.3
VulDB Meta Temp Score: 3.2

VulDB Base Score: 4.5
VulDB Temp Score: 4.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 2.5
NVD Vector: 🔍

CNA Base Score: 2.8
CNA Vector (Canonical Ltd.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Temp file
CWE: CWE-377
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 210348
Nessus Name: RHEL 8 : bcc (RHSA-2024:8831)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 008ea09e891194c072f2a9305a3c872a241dc342

Timelineinfo

03/07/2024 🔍
03/11/2024 +4 days 🔍
03/11/2024 +0 days 🔍
08/27/2025 +533 days 🔍

Sourcesinfo

Advisory: 008ea09e891194c072f2a9305a3c872a241dc342
Researcher: Mark Esler
Status: Confirmed

CVE: CVE-2024-2314 (🔍)
GCVE (CVE): GCVE-0-2024-2314
GCVE (VulDB): GCVE-100-256324

Entryinfo

Created: 03/11/2024 08:30
Updated: 08/27/2025 00:25
Changes: 03/11/2024 08:30 (53), 03/11/2024 08:31 (1), 11/05/2024 22:06 (17), 08/27/2025 00:25 (12)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!