CVE
CVE-2024-23651
- First Reported
- Feb 5, 2024
- Latest Reported
- Feb 5, 2024
CVE Enrichment
- CVSS
- 7.4 HIGH
- EPSS
- 0.91%
- EPSS Percentile
- 59.29%
- CISA KEV
- Not listed
Description
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options.
Technical Details
- CVSS Version
- 3.1
- CNA / NVD Source
- security-advisories@github.com
- Published
- 01-Feb-2024 05:15
- Last Modified
- 17-Jun-2026 14:13
- EPSS Date
- 2026-10-18
- CWE
- CWE-362
CVSS Vector
CVSS:3.1 AV:N /
AC:H /
PR:N /
UI:N /
S:U /
C:H /
I:H /
A:N
Affected Products / Versions
- mobyproject / buildkit
Version / affected range: * · before (exclusive) 0.12.5
cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*
References
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (1)
- New vulnerabilities have been revealed in the runC command line tool (CVE-2024-21626) and in BuildKit (CVE-2024-23651, CVE-2024-23652, and CVE-2024-23653). These flaws pose a risk of container escape, meaning that Leaky Vessels Flaws Enable Container Escape in runC and BuildKit
CVE (3)
MITRE ATT&CK (2)
Vendors (4)
Products (7)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.