CVE-2024-21626
A public proof of concept exists; no exploitation attested.
- Published2024-01-31
- Fixed in1.1.12
- WeaknessCWE-200 · CWE-403 · CWE-668
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-01-3122:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.1 | < 1.1.12 | 1.1.12 | NVD |
| 1.x | ≥ 1.0.0-rc93, < 1.1.12 | 1.1.12 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 39.x | = 39 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- opencontainers runcAffected
- = >=v1.0.0-rc93, < 1.1.12no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-02-19
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- aardvark-dnsRed Hat:rhel_eus:8.8::appstreamall versions · fixed in 2:1.5.0-2.module+el8.8.0+21265+93802b02
- aardvark-dnsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 2:1.7.0-1.module+el8.9.0+21243+a586538b
- aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.7.0-1.module_el8.9.0+3657+d86e192f
- buildahRocky Linux:8all versions · fixed in 1:1.24.6-7.module+el8.9.0+1445+07728297
- buildahRed Hat:rhel_tus:8.4::appstreamall versions · fixed in 0:1.19.9-1.module+el8.4.0+21078+a96cfbf6and 4 other packages
- buildahRed Hat:rhel_tus:8.2::appstreamall versions · fixed in 0:1.11.6-8.module+el8.2.0+21264+96602818and 4 other packages
- buildahRed Hat:rhel_eus:8.8::appstreamall versions · fixed in 1:1.29.2-1.module+el8.8.0+21265+93802b02and 4 other packages
- buildahRed Hat:rhel_eus:8.6::appstreamall versions · fixed in 1:1.24.2-3.module+el8.6.0+21254+7ef668f8and 4 other packages
396 more package ranges on OSV.dev
Vendor advisories
runc: file descriptor leak
ocp-tools-4/jenkins-agent-base-rhel8 as a component of OpenShift Developer Tools and Services · ocp-tools-4/jenkins-rhel8 as a component of OpenShift Developer Tools and Services · kepler-container as a component of Power monitoring for Red Hat OpenShift · +35 more
Red Hat Security Advisory: OpenShift Container Platform 4.13.56 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.14.49 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.12.74 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.15.46 bug fix and security update
Red Hat Enhancement Advisory: Red Hat build of MicroShift 4.18.1 security update
23 more advisories
Fix
- Update Linuxfoundation runc to 1.1.12
- Vendor fix Red Hat Product Security RHSA-2025:2701 · 1 productFor OpenShift Container Platform 4.13 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platfo…
- Vendor fix Red Hat Product Security RHSA-2025:2710 · 4 productsFor OpenShift Container Platform 4.14 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2025:2441 · 1 productFor OpenShift Container Platform 4.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.12/release_notes/ocp-4-1…
- Vendor fix Red Hat Product Security RHSA-2025:1711 · 4 productsFor OpenShift Container Platform 4.15 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.15/release_notes/o…
- Vendor fix Red Hat Product Security RHEA-2024:6124 · 18 productsFor MicroShift 4.18, read the following documentation for important instructions on how to install the latest RPMs and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/red_hat_build_of_microshift/4.18/html/red_hat_build_of_microshift_release_notes/index
- Vendor fix Red Hat Product Security RHSA-2025:0650 · 4 productsFor OpenShift Container Platform 4.16 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.16/release_notes/o…
Advisories and patches
- github.comPatch
- github.comRelease Notes
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-04-19
- PoC-in-GitHub20 repositories, unverifiedknown since 2026-11-01zpxlz/CVE-2024-21626-POCNitroCao/CVE-2024-21626skysbsb/CVE-2024-21626-POCcdxiaodong/CVE-2024-21626zhangguanzhang/CVE-2024-21626
- Metasploit modules
- 1 moduleexploit/linux/local/runc_cwd_priv_escrank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2024-04-19
- CNACVSS 3.18.6known since 2026-10-23
- NVDCVSS 3.18.6read 2026-10-23
- CNAweakness (CWE)CWE-200, CWE-403, CWE-668known since 2026-10-23
- NVDweakness (CWE)CWE-668read 2026-10-23
- FIRST EPSSEPSS score19.1 %read 2026-12-04
- PoC-in-GitHubproof of concept20known since 2026-11-01
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2024-01-31
Identifiers
- AZL-34060same flawAzure Linux · MIT
- AZL-34074same flawAzure Linux · MIT
- AZL-34075same flawAzure Linux · MIT
- AZL-34087same flawAzure Linux · MIT
- AZL-34642same flawAzure Linux · MIT
- AZL-34896same flawAzure Linux · MIT
- AZL-34905same flawAzure Linux · MIT
- AZL-35006same flawAzure Linux · MIT
- AZL-39606same flawAzure Linux · MIT
- AZL-43429same flawAzure Linux · MIT
- AZL-43789same flawAzure Linux · MIT
- AZL-44226same flawAzure Linux · MIT
- AZL-44340same flawAzure Linux · MIT
- CGA-2266-gfwq-4qhgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-24pc-8mwq-r5x3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-289p-c6c6-wxw8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-28rh-p78m-9xg4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2cgp-49wg-72mfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2h7v-wm65-74j2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3fcf-7wfp-qxmpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3j8x-p9jv-rgfvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3m9r-77vv-x2x5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3mxj-pgfp-2w74same flawChainguard · CC-BY-NC-ND-4.0
- CGA-46m7-6hfq-7frrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4ff7-8g78-4ffrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4j8v-87hx-px7xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4q2w-w38g-88rgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-58jx-6934-p965same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5hj9-3r9c-c47hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5r4m-pq7f-q93jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5rhp-vf5x-xvx4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5rm6-8wxg-gw9hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5v8r-jr5r-j833same flawChainguard · CC-BY-NC-ND-4.0
- CGA-68r2-9x8h-3mfqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6f35-g87j-vwpgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6hqg-rp4g-w5p4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6phg-7c86-p8hcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6vxr-vj6w-fvpvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6x7g-79wh-r9mvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7564-rwrp-pcpmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-78gc-27xv-hxm8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7c8p-h3vj-5m2msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7mwr-qj2g-hgrgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7vgh-93hr-wccwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-88m5-6qph-rrv8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8pqp-mp9g-mvh8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8qcr-pj6f-x246same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9224-g7w6-p9mxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-959x-cq9v-875psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-98vj-9p45-vf2vsame flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Published
- 2024-01-31
- Last modified
- 2026-09-17
- NVD status
- Modified
- GitHub advisory
- GHSA-xr7r-f8xq-vfvv
Frequently asked questions
What is CVE-2024-21626?
Is CVE-2024-21626 actively exploited?
What is the CVSS score for CVE-2024-21626?
Running opencontainers/runc? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-xr7r-f8xq-vfvv
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0