Creation of temporary file in directory with insecure permissions in bcc - CVE-2024-2314

 

Creation of temporary file in directory with insecure permissions in bcc - CVE-2024-2314

Published: November 6, 2024


Vulnerability identifier: #VU99854
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-2314
CWE-ID: CWE-379
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to software loads kernel headers from an insecure temporary directory. A local user can place malicious links headers into the temporary directory and escalate privileges on the system.

Affected software

bcc
Amazon Linux AMI
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Anolis OS
openEuler
bcc (Red Hat package)
bcc-doc
python3-bcc
bcc-tools
bcc-devel
bcc
bcc-lua
bcc-help
python3-bpfcc
bcc-debugsource
bcc-debuginfo
Red Hat OpenShift Container Platform

How to mitigate CVE-2024-2314

Install updates from vendor's website.

bcc - update to 0.30.0
bcc (Red Hat package) - addressed in versions 0.25.0-9.el8_10, 0.30.0-6.el9
bcc-doc - update to 0.25.0-9.0.1
python3-bcc - update to 0.25.0-9.0.1
bcc-tools - update to 0.25.0-9.0.1
bcc-devel - update to 0.25.0-9.0.1
bcc - update to 0.25.0-9.0.1
bcc - update to 0.26.0-1
bcc-devel - update to 0.29.1-3
bcc-lua - update to 0.29.1-3
bcc-tools - update to 0.29.1-3
bcc-help - update to 0.29.1-3
python3-bpfcc - update to 0.29.1-3
bcc-debugsource - update to 0.29.1-3
bcc-debuginfo - update to 0.29.1-3
bcc - update to 0.29.1-3
Red Hat OpenShift Container Platform - update to 4.15.38

External References

Related Security Bulletins