CVE-2024-21626

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.

Severity
HIGH
CVSS v3
8.6
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
18.923%
chance of exploitation in the next 30 days
higher than 97.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impacttotal
Scored2024-04-19

Timeline

  1. 2024-01-31Published by the CNA21:31 UTC
  2. 2024-01-31GitHub advisory published (GHSA-xr7r-f8xq-vfvv)same day
  3. 2024-04-19CISA SSVC decision recorded79 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-xr7r-f8xq-vfvv, affected packages:

PackageVulnerable versionsFixed in
Go github.com/opencontainers/runcfrom 1.0.0-rc93 before 1.1.121.1.12

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
linuxfoundation runcbefore 1.1.12fixed in 1.1.121.1.12
fedoraproject fedora39no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

40 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources