Skip to main content
VulnerabilityPublished Updated

CVE-2024-23651: Docker.io · BuildKit is a toolkit for converting source code to build artifacts in an efficient

Affects docker.ioSource GCVE Database

0
Compare
Authoritative record:CVE-2024-23651· High 8.7

Not known to be exploited · CVSS 8.7 High · fixed in 20.10.21-0ubuntu1~18.04.3+esm3 : patch docker.io soon.

Data as of 24 Nov 2026, 19:25 UTC

CVSS 3.1 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
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:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Jan 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSdocker.io-apppkg:deb/ubuntu/docker.io-app?arch=source&distro=nobleOther threatsAffected
  • <27.5.1-0ubuntu3~24.04.2
Fixed in
  • 27.5.1-0ubuntu3~24.04.2
Ubuntu Pro 24.04 LTSdocker.iopkg:deb/ubuntu/docker.io?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <20.10.25+dfsg1-2ubuntu1+esm2
Fixed in
  • 20.10.25+dfsg1-2ubuntu1+esm2
Ubuntu 22.04 LTSdocker.io-apppkg:deb/ubuntu/docker.io-app?arch=source&distro=jammyOther threatsAffected
  • <27.5.1-0ubuntu3~22.04.2
Fixed in
  • 27.5.1-0ubuntu3~22.04.2
Ubuntu Pro 22.04 LTSdocker.iopkg:deb/ubuntu/docker.io?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <20.10.21-0ubuntu1~22.04.7+esm2
Fixed in
  • 20.10.21-0ubuntu1~22.04.7+esm2
Ubuntu Pro 20.04 LTSdocker.iopkg:deb/ubuntu/docker.io?arch=source&distro=esm-apps/focalOther threatsAffected
  • <20.10.21-0ubuntu1~20.04.6+esm2
Fixed in
  • 20.10.21-0ubuntu1~20.04.6+esm2
Ubuntu Pro 20.04 LTSdocker.io-apppkg:deb/ubuntu/docker.io-app?arch=source&distro=esm-apps/focalOther threatsAffected
  • <26.1.3-0ubuntu1~20.04.1+esm1
Fixed in
  • 26.1.3-0ubuntu1~20.04.1+esm1

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

References

Community reviews

Loading reviews…