CVE
CVE-2024-23652
- First Reported
- Feb 5, 2024
- Latest Reported
- Feb 5, 2024
CVE Enrichment
- CVSS
- 9.1 CRITICAL
- EPSS
- 2.46%
- EPSS Percentile
- 84.22%
- CISA KEV
- Not listed
Description
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.
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-22
CVSS Vector
CVSS:3.1 AV:N /
AC:L /
PR:N /
UI:N /
S:U /
C:N /
I:H /
A:H
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)
- 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 exploiting them could 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.