#VU96712 Race condition in runc - CVE-2024-45310


Vulnerability identifier: #VU96712

Vulnerability risk: Low

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2024-45310

CWE-ID: CWE-362

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
runc
Server applications / Virtualization software

Vendor: Linux Foundation

Description

The vulnerability allows a remote attacker to crate empty files and directories on the host.

The vulnerability exists due to a race condition when handling containers with custom configuration. A remote attacker can trick the victim into running a specially crafted Docker or Kubernetes container, which can be used to share a volume between two containers and then exploit a race with os.MkdirAll to create empty  files or directories in arbitrary locations in the host filesystem.

Successful exploitation of the vulnerability may allow an attacker to perform a denial of service attack against the host system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

runc: 1.0.3 - 1.2.0 rc.2


External links
https://github.com/opencontainers/runc/security/advisories/GHSA-jfvp-7x6p-h2pv
https://github.com/opencontainers/runc/releases/tag/v1.1.14
https://github.com/opencontainers/runc/releases/tag/v1.2.0-rc.3


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability