CVE-2024-21626

Public Exploit
runc container breakout through process.cwd trickery and leaked fds

Description

runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process (from runc exec) to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem ("attack 2"). The same attack could be used by a malicious image to allow a container process to gain access to the host filesystem through runc run ("attack 1"). Variants of attacks 1 and 2 could be also be used to overwrite semi-arbitrary host binaries, allowing for complete container escapes ("attack 3a" and "attack 3b"). runc 1.1.12 includes patches for this issue.

Categories

8.6
CVSS
Severity: High
CVSS 3.1 •
EPSS 5.38% Top 15%
Vendor Advisory github.com
Affected: opencontainers runc
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-21626?
CVE-2024-21626 has been scored as a high severity vulnerability.
How to fix CVE-2024-21626?
To fix CVE-2024-21626, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-21626 being actively exploited in the wild?
It is possible that CVE-2024-21626 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~5% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-21626?
CVE-2024-21626 affects opencontainers runc.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.