CVE-2024-21626
Last modified
CVE-2024-21626 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. 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"). EPSS estimates a 17.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Runc | < 1.1.12 |
| Fedoraproject | Fedora | 39 |
References
- http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvvExploit, Vendor Advisory
- http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvvExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-21626?
How severe is CVE-2024-21626?
How do I fix CVE-2024-21626?
Are you affected by CVE-2024-21626?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
