cve.bz

CVE-2024-21626 (Leaky Vessels) File descriptor leak

8.6 highExploitEPSS 19%Fix available

Known as Leaky Vessels

High (8.6). EPSS 19% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/opencontainers/runc 1.1.12.

On this page
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.

Severity

CVSS 3.1

8.6 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS
19% (unchanged from 19% a week ago; 19% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-04-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-403 Exposure of File Descriptor to Unintended Control Sphere (File descriptor leak)
CWE-668 Exposure of Resource to Wrong Sphere
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-21626 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-21626?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-21626?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-21626 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:runcbefore 1.1.12
fedoraproject:fedora39

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xr7r-f8xq-vfvvGogithub.com/opencontainers/runc>=1.0.0-rc93 <1.1.121.1.12
GO-2024-2491Gogithub.com/opencontainers/runc>=1.0.0-rc93 <1.1.121.1.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10runc1.0.0~rc6+dfsg1-3+deb10u3DLA-3735-1
Debian11runc1.0.0~rc93+ds1-5+deb11u3DSA-5615-1
Debian12runc1.1.5+ds1-1+deb12u1DEBIAN-CVE-2024-21626 DSA-5615-1
Debian13, 14runc1.1.12+ds1-1DEBIAN-CVE-2024-21626
Ubuntu20.04:LTSrunc1.1.7-0ubuntu1~20.04.2UBUNTU-CVE-2024-21626 USN-6619-1
Ubuntu22.04:LTSrunc1.1.7-0ubuntu1~22.04.2UBUNTU-CVE-2024-21626 USN-6619-1
UbuntuPro:18.04:LTSrunc1.1.4-0ubuntu1~18.04.2+esm1UBUNTU-CVE-2024-21626 USN-6619-1
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.7.0-1.module+el8.9.0+21243+a586538bRHSA-2024:0752
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.24.6-7.module+el8.9.0+21242+944321bbRHSA-2024:0748
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.31.3-3.module+el8.9.0+21243+a586538bRHSA-2024:0752
Red Hatenterprise_linux:8::appstreamcockpit-podman0:46-1.module+el8.9.0+21242+944321bbRHSA-2024:0748
Red Hatenterprise_linux:8::appstreamcockpit-podman0:75-1.module+el8.9.0+21243+a586538bRHSA-2024:0752
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.1.4-2.module+el8.9.0+21242+944321bbRHSA-2024:0748
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.8-1.module+el8.9.0+21243+a586538bRHSA-2024:0752
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.205.0-3.module+el8.9.0+21242+944321bbRHSA-2024:0748
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.221.0-1.module+el8.9.0+21243+a586538bRHSA-2024:0752
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.1.1-6.module+el8.9.0+21242+944321bbRHSA-2024:0748
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.3.0-8.module+el8.9.0+21243+a586538bRHSA-2024:0752
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-38.module+el8.9.0+21242+944321bbRHSA-2024:0748
133 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 18 morerunc1.1.11-150000.58.1SUSE-SU-2024:0295-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 15 morerunc1.1.12-150000.61.2SUSE-SU-2024:0459-1
SUSELinux Enterprise Module for Containers 12runc1.1.11-16.43.1SUSE-SU-2024:0294-1
SUSELinux Enterprise Module for Containers 12runc1.1.12-16.46.1SUSE-SU-2024:0328-1
SUSEPackage Hub 15 SP6crun1.20-bp156.2.3.1openSUSE-SU-2025:0074-1
openSUSELeap 15.5, Leap Micro 5.3, Leap Micro 5.4runc1.1.11-150000.58.1SUSE-SU-2024:0295-1
openSUSELeap 15.5, Leap Micro 5.3, Leap Micro 5.4runc1.1.12-150000.61.2SUSE-SU-2024:0459-1
openSUSELeap 15.6crun1.20-bp156.2.3.1openSUSE-SU-2025:0074-1
openSUSETumbleweedcrun1.14.4-1.1openSUSE-SU-2024:13754-1
openSUSETumbleweedrunc1.1.12-1.1openSUSE-SU-2024:13644-1
openSUSETumbleweedsingularity-ce4.1.3-1.1openSUSE-SU-2024:14059-1
AlmaLinux8aardvark-dns2:1.7.0-1.module_el8.9.0+3657+d86e192fALSA-2024:0752
AlmaLinux8buildah, buildah-tests1:1.24.6-7.module_el8.9.0+3627+db8ec155ALSA-2024:0748
AlmaLinux8buildah, buildah-tests1:1.31.3-3.module_el8.9.0+3717+81096349ALSA-2024:0752
AlmaLinux8buildah-tests1:1.24.6-7.module_el8.9.0+3687+dcd7ef8fALSA-2024:0748
AlmaLinux8cockpit-podman46-1.module_el8.7.0+3344+5bcd850fALSA-2024:0748
AlmaLinux8cockpit-podman75-1.module_el8.9.0+3643+9234dc3bALSA-2024:0752
AlmaLinux8conmon2:2.1.4-2.module_el8.9.0+3627+db8ec155ALSA-2024:0748
AlmaLinux8conmon2:2.1.4-2.module_el8.9.0+3687+dcd7ef8fALSA-2024:0748
AlmaLinux8conmon3:2.1.8-1.module_el8.9.0+3643+9234dc3bALSA-2024:0752
AlmaLinux8container-selinux2:2.205.0-3.module_el8.9.0+3627+db8ec155ALSA-2024:0748
AlmaLinux8container-selinux2:2.221.0-1.module_el8.9.0+3643+9234dc3bALSA-2024:0752
AlmaLinux8containernetworking-plugins1:1.1.1-6.module_el8.9.0+3711+04fcca5eALSA-2024:0748
33 more for AlmaLinux in the JSON.
Rocky Linux8buildah1:1.24.6-7.module+el8.9.0+1445+07728297RLSA-2024:0748
Rocky Linux8cockpit-podman0:46-1.module+el8.9.0+1445+07728297RLSA-2024:0748
Rocky Linux8conmon2:2.1.4-2.module+el8.9.0+1445+07728297RLSA-2024:0748
Rocky Linux8container-selinux2:2.205.0-3.module+el8.9.0+1445+07728297RLSA-2024:0748
Rocky Linux8containers-common2:1-38.module+el8.9.0+1445+07728297RLSA-2024:0748
Rocky Linux8criu0:3.15-3.module+el8.9.0+1445+07728297RLSA-2024:0748
Rocky Linux8fuse-overlayfs0:1.9-2.module+el8.9.0+1445+07728297RLSA-2024:0748
Rocky Linux8libslirp0:4.4.0-1.module+el8.9.0+1445+07728297RLSA-2024:0748 RLSA-2024:0752
Rocky Linux8oci-seccomp-bpf-hook0:1.2.5-2.module+el8.9.0+1445+07728297RLSA-2024:0748
Rocky Linux8python-podman0:4.0.0-2.module+el8.9.0+1445+07728297RLSA-2024:0748
Rocky Linux8runc1:1.1.12-1.module+el8.10.0+1815+5fe7415eRLSA-2024:0748 RLSA-2024:0752
Rocky Linux8runc1:1.1.12-1.module+el8.10.0+1825+623b0c20RLSA-2024:0748 RLSA-2024:0752
3 more for Rocky Linux in the JSON.
Alpinev3.18, v3.19, v3.20 and 4 morerunc1.1.12-r0ALPINE-CVE-2024-21626
Azure Linux2buildahno fix listedAZL-43789
Azure Linux2cri-o1.21.7-3AZL-39606
Azure Linux2cri-tools1.28.0-5AZL-34060
Azure Linux2kubernetes1.28.4-3AZL-34074
Azure Linux2kubevirt0.59.0-14AZL-34075
Azure Linux2moby-runc1.1.9-4AZL-34087
Azure Linux2podmanno fix listedAZL-43429
Azure Linux3buildah1.41.4-2AZL-44340
Azure Linux3cri-tools1.30.1-1AZL-34642
Azure Linux3kubernetes1.30.1-1AZL-34896
Azure Linux3kubevirt1.2.0-1AZL-34905
Azure Linux3moby-engine25.0.3-1AZL-35006
1 more for Azure Linux in the JSON.
Alpaquita23, streamrunc1.1.12-r0BELL-CVE-2024-21626

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

These vulnerabilities not only enable malicious actors to escape containerized environments but also allow for full control over the underlying host system. With the widespread adoption of containerization technologies in both development and production environments, such exploits pose significant risks to data integrity, confidentiality, and system stability.

OpenShift Container Platform ships with SELinux in targeted enforcing mode, which prevents the container processes from accessing host content and mitigates this attack, and disabling SELinux on the Openshift container platform is not supported. Hence, the impact of the Openshift Container Platform is reduced to Moderate.

For multicluster-engine (MCE) vulnerable versions of buildkit and runc are part of installed version of oc. However, they are not affecting the higher-level assisted-installer binary in MCE. The presence of these dependencies in the container does not imply a security risk to the containerized application itself, as it is based on low-level packages included in the oc binary, and the impact to the container's core functionality is minimal.

This flaw doesn't affect the OpenShift Tools & Services as the affected code is only used for testing and is not exposed to the final user.

Red Hat's mitigation

Red Hat Enterprise Linux (RHEL) and OpenShift ships with SELinux in targeted enforcing mode, which prevents the container processes from accessing host content and mitigates this attack. Dockerfiles can be inspected on the 'RUN' and 'WORKDIR' directives to ensure that there are no escapes or malicious paths, which are an indication of compromise. Limiting access and only using trusted container images can help prevent unauthorized access and malicious attacks.

ProductPackageStateAdvisory
OCP-Tools-4.15-RHEL-8jenkins-0:2.440.3.1718879390-3.el8Fixed 2024-07-17RHSA-2024:4597
OCP-Tools-4.15-RHEL-8jenkins-2-plugins-0:4.15.1718879538-1.el8Fixed 2024-07-17RHSA-2024:4597
Red Hat Enterprise Linux 7 Extrasrunc-0:1.0.0-70.rc10.el7_9Fixed 2024-02-07RHSA-2024:0717
Red Hat Enterprise Linux 7 Extrasdocker-2:1.13.1-210.git7d71120.el7_9Fixed 2024-03-12RHSA-2024:1270
Red Hat Enterprise Linux 8container-tools:4.0-8090020240201111813.d7b6f4b7Fixed 2024-02-08RHSA-2024:0748
Red Hat Enterprise Linux 8container-tools:rhel8-8090020240201111839.d7b6f4b7Fixed 2024-02-08RHSA-2024:0752
Red Hat Enterprise Linux 8.2 Advanced Update Supportcontainer-tools:2.0-8020020240206120705.28c38760Fixed 2024-02-08RHSA-2024:0758
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicecontainer-tools:2.0-8020020240206120705.28c38760Fixed 2024-02-08RHSA-2024:0758
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionscontainer-tools:2.0-8020020240206120705.28c38760Fixed 2024-02-08RHSA-2024:0758
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportcontainer-tools:3.0-8040020240207051234.c0c392d5Fixed 2024-02-08RHSA-2024:0760
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-agent-base-rhel8Will not fix
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Will not fix
Power monitoring for Red Hat OpenShiftkepler-containerWill not fix
Red Hat Enterprise Linux 10buildahNot affected
Red Hat Enterprise Linux 10containers-commonNot affected
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9podmanNot affected
Red Hat OpenShift Container Platform 4buildahNot affected
Red Hat OpenShift Container Platform 4cri-oNot affected
60 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-21626.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

2 more

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON