runc container breakout through process.cwd trickery and leaked fds
83Vexday Risk Score
Patch now. It exploitation observed by VulnCheck and has a working public exploit.
ssvc Actcvss 8.6epss 18%
from disclosure to weapon1 days
Published on NVDJan 31
1st PoC+1d
metasploitJan 31
VulnCheck+97d
exploitation probability
18%top 3% of all CVEs
observed exploitation
yesVulnCheck
14 public exploit(s)
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 — 14
vulncheckvulncheck.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/efbf37fa960bunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
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