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 18.09% 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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-2162An OS Command Injection vulnerability in Kiloview NDI allows…8.8
- CVE-2024-21620An Improper Neutralization of Input During Web Page Generati…6.1
- CVE-2024-21622Craft is a content management system. This is a potential mo…8.8
- CVE-2024-21623OTCLient is an alternative tibia client for otserv. Prior to…9.8
- CVE-2024-21624nonebot2 is a cross-platform Python asynchronous chatbot fra…6.5
- CVE-2024-21625SideQuest is a place to get virtual reality applications for…8.8
- CVE-2024-21627PrestaShop is an open-source e-commerce platform. Prior to v…6.1
- CVE-2024-21628PrestaShop is an open-source e-commerce platform. Prior to v…6.1
- CVE-2024-21629Rust EVM is an Ethereum Virtual Machine interpreter. In `rus…7.5
- CVE-2024-2163The Ninja Beaver Add-ons for Beaver Builder plugin for WordP…6.4
- CVE-2024-21630Zulip is an open-source team collaboration tool. A vulnerabi…4.3
- CVE-2024-21631Vapor is an HTTP web framework for Swift. Prior to version 4…6.5
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
