VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2024-21626

⇱ NVD - CVE-2024-21626


  1. Vulnerabilities

CVE-2024-21626 Detail

Modified After Enrichment

This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.

Current 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.


View Analysis Description

Analysis 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.

Metrics

 
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html CVE, GitHub, Inc. Exploit  Third Party Advisory  VDB Entry 
http://www.openwall.com/lists/oss-security/2024/02/01/1 CVE, GitHub, Inc. Mailing List 
http://www.openwall.com/lists/oss-security/2024/02/02/3 CVE, GitHub, Inc. Mailing List 
https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf CVE, GitHub, Inc. Patch 
https://github.com/opencontainers/runc/releases/tag/v1.1.12 CVE, GitHub, Inc. Release Notes 
https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv CVE, GitHub, Inc. Exploit  Vendor Advisory 
https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html CVE, GitHub, Inc.
https://lists.fedoraproject.org/archives/list/[email protected]/message/2NLXNE23Q5ESQUAI22Z7A63JX2WMPJ2J/ CVE, GitHub, Inc.
https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/ CVE, GitHub, Inc. Mailing List 
https://www.vicarius.io/vsociety/posts/leaky-vessels-part-1-cve-2024-21626 CVE

Weakness Enumeration

CWE-ID CWE Name Source
CWE-668 Exposure of Resource to Wrong Sphere πŸ‘ cwe source acceptance level
NIST  
GitHub, Inc.  
CWE-403 Exposure of File Descriptor to Unintended Control Sphere ('File Descriptor Leak') GitHub, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

12 change records found show changes

CVE Modified by CISA-ADP 6/17/2026 3:09:52 AM

Action Type Old Value New Value
Added SSVC
{"timestamp":"2024-04-19T04:01:01.696064Z","id":"CVE-2024-21626","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}


CVE Modified by GitHub, Inc. 6/17/2026 3:09:52 AM

Action Type Old Value New Value
Added Affected
[{"vendor":"opencontainers","product":"runc","versions":[{"version":">=v1.0.0-rc93, < 1.1.12","status":"affected"}]}]


CVE Modified by CVE 11/21/2024 3:54:45 AM

Action Type Old Value New Value
Added Reference
http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html


Added Reference
http://www.openwall.com/lists/oss-security/2024/02/01/1


Added Reference
http://www.openwall.com/lists/oss-security/2024/02/02/3


Added Reference
https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf


Added Reference
https://github.com/opencontainers/runc/releases/tag/v1.1.12


Added Reference
https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv


Added Reference
https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html


Added Reference
https://lists.fedoraproject.org/archives/list/[email protected]/message/2NLXNE23Q5ESQUAI22Z7A63JX2WMPJ2J/


Added Reference
https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/


Added Reference
https://www.vicarius.io/vsociety/posts/leaky-vessels-part-1-cve-2024-21626


CVE Modified by GitHub, Inc. 5/14/2024 10:55:19 AM

Action Type Old Value New Value

CVE Modified by GitHub, Inc. 2/18/2024 10:15:08 PM

Action Type Old Value New Value
Added Reference
GitHub, Inc. https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html [No types assigned]


CVE Modified by GitHub, Inc. 2/11/2024 1:15:11 AM

Action Type Old Value New Value
Added Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/2NLXNE23Q5ESQUAI22Z7A63JX2WMPJ2J/ [No types assigned]


Initial Analysis by NIST 2/09/2024 10:38:09 AM

Action Type Old Value New Value
Added CVSS V3.1
NIST AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H


Added CWE
NIST CWE-668


Added CPE Configuration
OR
 *cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:* versions up to (excluding) 1.1.12


Added CPE Configuration
OR
 *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*


Changed Reference Type
http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html No Types Assigned


http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry


Changed Reference Type
http://www.openwall.com/lists/oss-security/2024/02/01/1 No Types Assigned


http://www.openwall.com/lists/oss-security/2024/02/01/1 Mailing List


Changed Reference Type
http://www.openwall.com/lists/oss-security/2024/02/02/3 No Types Assigned


http://www.openwall.com/lists/oss-security/2024/02/02/3 Mailing List


Changed Reference Type
https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf No Types Assigned


https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf Patch


Changed Reference Type
https://github.com/opencontainers/runc/releases/tag/v1.1.12 No Types Assigned


https://github.com/opencontainers/runc/releases/tag/v1.1.12 Release Notes


Changed Reference Type
https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv No Types Assigned


https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv Exploit, Vendor Advisory


Changed Reference Type
https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/ No Types Assigned


https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/ Mailing List


CVE Modified by GitHub, Inc. 2/05/2024 9:15:08 PM

Action Type Old Value New Value
Added Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/SYMO3BANINS6RGFQFKPRG4FIOJ7GWYTL/ [No types assigned]


CVE Modified by GitHub, Inc. 2/05/2024 12:15:09 PM

Action Type Old Value New Value
Added Reference
GitHub, Inc. http://packetstormsecurity.com/files/176993/runc-1.1.11-File-Descriptor-Leak-Privilege-Escalation.html [No types assigned]


CVE Modified by GitHub, Inc. 2/02/2024 7:15:49 AM

Action Type Old Value New Value
Added Reference
GitHub, Inc. http://www.openwall.com/lists/oss-security/2024/02/02/3 [No types assigned]


CVE Modified by GitHub, Inc. 2/01/2024 1:15:53 AM

Action Type Old Value New Value
Added Reference
GitHub, Inc. http://www.openwall.com/lists/oss-security/2024/02/01/1 [No types assigned]


New CVE Received from GitHub, Inc. 1/31/2024 5:15:53 PM

Action Type Old Value New Value
Added 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. 


Added CVSS V3.1
GitHub, Inc. AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H


Added CWE
GitHub, Inc. CWE-403


Added CWE
GitHub, Inc. CWE-668


Added Reference
GitHub, Inc. https://github.com/opencontainers/runc/commit/02120488a4c0fc487d1ed2867e901eeed7ce8ecf [No types assigned]


Added Reference
GitHub, Inc. https://github.com/opencontainers/runc/releases/tag/v1.1.12 [No types assigned]


Added Reference
GitHub, Inc. https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv [No types assigned]


Quick Info

CVE Dictionary Entry:
CVE-2024-21626
NVD Published Date:
01/31/2024
NVD Last Modified:
06/17/2026
Source:
GitHub, Inc.