CVE-2024-21626: high-severity vulnerability in opencontainers runc
runc container breakout through process.cwd trickery and leaked fds
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
83Vexday Risk Score
Patch now. It exploitation observed by VulnCheck and has a working public exploit.
ssvc Actcvss 8.6epss 19%
from disclosure to weapon1 day
Published on NVDJan 31
1st PoC+1d
metasploitJan 31
VulnCheck+97d
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Affected products
opencontainers · runcpublic PoCs found — 17
vulncheckvulncheck.com/xdb/7655aa49c4abunverifiedvulncheckvulncheck.com/xdb/7041d02c2924unverifiedvulncheckvulncheck.com/xdb/f63cbffeb196unverifiedvulncheckvulncheck.com/xdb/fccc92afb59dunverifiedvulncheckvulncheck.com/xdb/beb29c4c6705unverifiedvulncheckvulncheck.com/xdb/42224479742dunverifiedvulncheckvulncheck.com/xdb/e7af6b409930unverifiedvulncheckvulncheck.com/xdb/c6c5a509c1d6unverifiedvulncheckvulncheck.com/xdb/26a4729455e2unverifiedvulncheckvulncheck.com/xdb/3e18ecb55558unverifiedvulncheckvulncheck.com/xdb/219fbba229f0unverifiedvulncheckvulncheck.com/xdb/a60b448d2a4cunverifiedvulncheckvulncheck.com/xdb/7c58a9d687fdunverifiedvulncheckvulncheck.com/xdb/a82dd4f4dc7funverifiedvulncheckvulncheck.com/xdb/efbf37fa960bunverifiedvulncheckvulncheck.com/xdb/ce6a751c12ffunverifiedvulncheckvulncheck.com/xdb/eb2818fbc92dunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — opencontainers runc
In the same product, most dangerous first.
CVE-2021-43784MEDIUMOverflow in netlink bytemsg length field allows attacker to override netlink-based container configurationEPSS 1.8%CVE-2025-31133HIGHrunc container escape via "masked path" abuse due to mount race conditionsEPSS 1.2%CVE-2025-52565HIGHcontainer escape due to /dev/console mount and related racesEPSS 0.8%CVE-2025-52881HIGHrunc: LSM labels can be bypassed with malicious config using dummy procfs filesEPSS 0.8%CVE-2022-29162MEDIUMIncorrect Default Permissions in runcEPSS 0.4%CVE-2023-28642MEDIUMAppArmor bypass with symlinked /proc in runcEPSS 0.3%
References
http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.htmlhttps://access.redhat.com/errata/RHSA-2024:0645https://access.redhat.com/errata/RHSA-2024:0662https://access.redhat.com/errata/RHSA-2024:0666https://access.redhat.com/errata/RHSA-2024:0670https://access.redhat.com/errata/RHSA-2024:0684https://access.redhat.com/errata/RHSA-2024:0717https://access.redhat.com/errata/RHSA-2024:0748https://access.redhat.com/errata/RHSA-2024:0752https://access.redhat.com/errata/RHSA-2024:0755https://access.redhat.com/errata/RHSA-2024:0756https://access.redhat.com/errata/RHSA-2024:0757