VDB

CVE-2024-21626

CVE-2024-21626 PUBLISHED CVSS 8.6 HIGH

runc container breakout through process.cwd trickery and leaked fds

Reported by github_m · Published January 31, 2024

github.com/opencontainers/runc is fixed in 1.1.12 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/opencontainers/runcGo Modules1.1.12
skaffoldWolfi2.11.0-r0
runcAmazon Linux1.1.11-1.amzn2023.0.1
telegraf-1.27Chainguard1.27.4-r10
newrelic-infrastructure-agentWolfi1.48.4-r1
kubernetes-fips-1.29Chainguard1.29.15-r2
trivyChainguard0.49.0-r0
newrelic-infrastructure-agentChainguard1.48.4-r1
kubernetes-fips-1.28Chainguard1.28.9-r0
k3dChainguard5.6.0-r6
k3sWolfi1.29.0-r1
zarfChainguard0.32.3-r0

33 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.6
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected products

VendorProductVersions
opencontainersrunc>=v1.0.0-rc93, < 1.1.12
wolfiskaffold0
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat OpenShift Container Platform 4.174.17.0-202501052337.p0.gbb33e13.assembly.stream.el9
Red HatRed Hat OpenShift Virtualization 4
amazon:2023runc0
Red HatRed Hat Enterprise Linux 7 Extras0:1.0.0-70.rc10.el7_9
chainguardtelegraf-1.270
wolfinewrelic-infrastructure-agent0
Red HatOCP-Tools-4.15-RHEL-80:4.15.1718879538-1.el8
chainguardkubernetes-fips-1.290
Red HatRed Hat Quay 3
chainguardtrivy0
Red HatRed Hat OpenShift Virtualization 4
Red HatRed Hat OpenShift Virtualization 4
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020240207051234.c0c392d5
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat OpenShift Virtualization 4
chainguardnewrelic-infrastructure-agent0
Red HatRed Hat OpenShift Container Platform 4.16

…and 167 more

Timeline

  • Jan 31, 2024 CVE Published
  • Jan 31, 2024 Metasploit Module
  • Feb 1, 2024 VulnCheck XDB Entry (22 in total, the first dated here)
  • Feb 5, 2024 PoC Published (3 in total, the first dated here)
  • Feb 8, 2024 EPSS Score (30 in total, the first dated here)
  • May 7, 2024 VulnCheck KEV Exploitation (3 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (30 in total, the first dated here)
  • Dec 5, 2025 CVE Updated
  • Jan 18, 2026 Security Advisory (46 in total, the first dated here)
  • Aug 21, 2026 Distribution Patch (35 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-21626
vulnetix vdb fixes CVE-2024-21626

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-21626/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›