Skip to main content
Public proof of conceptFix available

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?

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
  1. 2024-01-3122:15CVE publishedNVD

Versions per branch

NVD · OSV
Linuxfoundation runc
BranchAffectedFixed in
1.1< 1.1.121.1.12
1.x≥ 1.0.0-rc93, < 1.1.121.1.12
Fedoraproject fedora
BranchAffectedFixed in
39.x= 39no fix published

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 runc
    Affected
    • = >=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

  • CVE-2024-21626 Red Hat Product Security2,004 products fixed · 38 known affected

    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

  • RHSA-2025:2701 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.13.56 bug fix and security update

  • RHSA-2025:2710 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.14.49 bug fix and security update

  • RHSA-2025:2441 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.12.74 bug fix and security update

  • RHSA-2025:1711 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.15.46 bug fix and security update

  • RHEA-2024:6124 Red Hat Product Security18 products fixed

    Red Hat Enhancement Advisory: Red Hat build of MicroShift 4.18.1 security update

23 more advisories

Full record on NVD

Fix

  1. Update Linuxfoundation runc to 1.1.12
  2. 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…
  3. 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.…
  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…
  5. 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…
  6. 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
  7. 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

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
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

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?

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.

Is CVE-2024-21626 actively exploited?

A proof-of-concept exploit exists for CVE-2024-21626, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-21626?

CVE-2024-21626 has a CVSS v3 base score of 8.6 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.

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

Sources for this record