CVE-2024-21626
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.
How to fix
- linuxfoundation runc1.1.12 or later
- github.com/opencontainers/runc1.1.12 or later
- access.redhat.com/errata/RHSA-2024:1270
- access.redhat.com/errata/RHSA-2024:0717
- access.redhat.com/errata/RHSA-2024:4597
- access.redhat.com/errata/RHSA-2024:0684
- access.redhat.com/errata/RHSA-2025:2441
- access.redhat.com/errata/RHSA-2024:0666
- access.redhat.com/errata/RHSA-2025:2701
- access.redhat.com/errata/RHSA-2024:0662
- access.redhat.com/errata/RHSA-2025:2710
- access.redhat.com/errata/RHSA-2024:0645
- access.redhat.com/errata/RHSA-2025:1711
- access.redhat.com/errata/RHSA-2024:10525
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linuxfoundation runc | v < 1.1.12 | 1.1.12 |
| fedoraproject fedora | 39 | — |
| github.com/opencontainers/runcGo | 1.0.0-rc93 ≤ v < 1.1.12 | 1.1.12 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.