CVE-2024-23652: Docker.io · BuildKit is a toolkit for converting source code to build artifacts in an efficient
Affects docker.ioSource GCVE Database
Not known to be exploited · CVSS 10.0 Critical · fixed in 20.10.21-0ubuntu1~18.04.3+esm3 : patch docker.io as a priority.
Data as of 24 Nov 2026, 19:25 UTC
- Patch
- Available – fixed in 20.10.21-0ubuntu1~18.04.3+esm3, 20.10.21-0ubuntu1~20.04.6+esm2, 26.1.3-0ubuntu1~20.04.1+esm1 +4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 31 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSdocker.io-apppkg:deb/ubuntu/docker.io-app?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 24.04 LTSdocker.iopkg:deb/ubuntu/docker.io?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSdocker.io-apppkg:deb/ubuntu/docker.io-app?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSdocker.iopkg:deb/ubuntu/docker.io?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSdocker.iopkg:deb/ubuntu/docker.io?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSdocker.io-apppkg:deb/ubuntu/docker.io-app?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-23652 (opens in a new tab)
- github.com/moby/buildkit/security/advisories/GHSA-4v98-7qmw-rqr8 (opens in a new tab)
- github.com/moby/buildkit/pull/4603 (opens in a new tab)
- github.com/moby/buildkit/releases/tag/v0.12.5 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-23652 (opens in a new tab)
- ubuntu.com/security/notices/USN-7474-1 (opens in a new tab)