CVE-2024-21626
HIGH 8.6CVSS 3.1runc vulnerable to container breakout through process.cwd trickery and leaked fds
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.
- Published
- 31 Jan 2024
- Last modified
- 17 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200CWE-403CWE-668
- Also known as
- GHSA-xr7r-f8xq-vfvvGO-2024-2491
- Sources
- NVDJSONOSV GHSA-xr7r-f8xq-vfvvJSONOSV GO-2024-2491JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | runccpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:* |
< 1.1.12 | 1.1.12 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
= 39 | |
| OSV | Go | github.com/opencontainers/runc | >= 1.0.0-rc93, < 1.1.12 | 1.1.12 |
References
- http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://www.openwall.com/lists/oss-security/2024/02/01/1 · Mailing List, WEB
- http://www.openwall.com/lists/oss-security/2024/02/02/3 · Mailing List, WEB
- https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf · Patch, WEB, FIX
- https://github.com/opencontainers/runc/releases/tag/v1.1.12 · Release Notes, WEB
- https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv · Exploit, Vendor Advisory, WEB, ADVISORY
- https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NLXNE23Q5ESQUAI22Z7A63JX2WMPJ2J/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/ · Mailing List, WEB
- https://www.vicarius.io/vsociety/posts/leaky-vessels-part-1-cve-2024-21626 · WEB
- https://access.redhat.com/errata/RHSA-2024:0645 · WEB
- https://access.redhat.com/errata/RHSA-2024:0662 · WEB
- https://access.redhat.com/errata/RHSA-2024:0666 · WEB
- https://access.redhat.com/errata/RHSA-2024:0670 · WEB
- https://access.redhat.com/errata/RHSA-2024:0684 · WEB
- https://access.redhat.com/errata/RHSA-2024:0717 · WEB
- https://access.redhat.com/errata/RHSA-2024:0748 · WEB
- https://access.redhat.com/errata/RHSA-2024:0752 · WEB
- https://access.redhat.com/errata/RHSA-2024:0755 · WEB
- https://access.redhat.com/errata/RHSA-2024:0756 · WEB
- https://access.redhat.com/errata/RHSA-2024:0757 · WEB
- https://access.redhat.com/errata/RHSA-2024:0758 · WEB
- https://access.redhat.com/errata/RHSA-2024:0759 · WEB
- https://access.redhat.com/errata/RHSA-2024:0760 · WEB
- https://access.redhat.com/errata/RHSA-2024:0764 · WEB
- https://access.redhat.com/errata/RHSA-2024:10149 · WEB
- https://access.redhat.com/errata/RHSA-2024:10520 · WEB
- https://access.redhat.com/errata/RHSA-2024:10525 · WEB
- https://access.redhat.com/errata/RHSA-2024:10841 · WEB
- https://access.redhat.com/errata/RHSA-2024:1270 · WEB
- https://access.redhat.com/errata/RHSA-2024:4597 · WEB
- https://access.redhat.com/errata/RHSA-2025:0115 · WEB
- https://access.redhat.com/errata/RHSA-2025:0650 · WEB
- https://access.redhat.com/errata/RHSA-2025:1711 · WEB
- https://access.redhat.com/errata/RHSA-2025:2441 · WEB
- https://access.redhat.com/errata/RHSA-2025:2701 · WEB
- https://access.redhat.com/errata/RHSA-2025:2710 · WEB
- https://access.redhat.com/security/cve/CVE-2024-21626 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2258725 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-21626.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21626 · ADVISORY
- https://github.com/opencontainers/runc · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 31 Jan 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Jan 2024)