#VU99853 Creation of temporary file in directory with insecure permissions in bpftrace - CVE-2024-2313


Vulnerability identifier: #VU99853

Vulnerability risk: Low

CVSSv4.0: 5.9 [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/E:U/U:Clear]

CVE-ID: CVE-2024-2313

CWE-ID: CWE-379

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
bpftrace
Universal components / Libraries / Software for developers

Vendor: bpftrace

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

bpftrace: 0.8 - 0.20.4


External links
https://github.com/bpftrace/bpftrace/commit/4be4b7191acb8218240e6b7178c30fa8c9b59998
https://bugzilla.redhat.com/show_bug.cgi?id=2269014


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability