Skip to main content
VulnerabilityPublished Updated

CVE-2024-24557: Docker.io · The classic builder cache system is prone to cache poisoning if the image is built FROM

Affects docker.ioSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.8 High · fixed in 26.1.3-0ubuntu1~20.04.1+esm1 : patch docker.io soon.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 26.1.3-0ubuntu1~20.04.1+esm1, 27.5.1-0ubuntu3~22.04.2, 27.5.1-0ubuntu3~24.04.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Feb 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 24 Nov 2026.

What to do

Upgrade the Ubuntu docker.io-app to 26.1.3-0ubuntu1~20.04.1+esm1 (package) or 27.5.1-0ubuntu3~22.04.2 (package) or 27.5.1-0ubuntu3~24.04.2 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.10docker.iopkg:deb/ubuntu/docker.io?arch=source&distro=stonkingOther threatsAffected
  • =27.5.1+dfsg4-2ubuntu1
  • =28.5.2+dfsg4-5ubuntu1
Fixed in–
Ubuntu 26.04 LTSdocker.iopkg:deb/ubuntu/docker.io?arch=source&distro=resoluteOther threatsAffected
  • =26.1.5+dfsg1-9ubuntu1
  • =27.5.1+dfsg4-1ubuntu1
  • =27.5.1+dfsg4-2ubuntu1
Fixed in–
Ubuntu 25.10docker.iopkg:deb/ubuntu/docker.io?arch=source&distro=questingOther threatsAffected
  • =26.1.5+dfsg1-9ubuntu1
Fixed 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.24+dfsg1-1ubuntu2 – 20.10.25+dfsg1-2ubuntu1+esm2
6 affected builds
Fixed in–
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

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Moby is an open-source project created by Docker to enable software containerization. The classic builder cache system is prone to cache poisoning if the image is built FROM scratch. Also, changes to some instructions (most important being HEALTHCHECK and ONBUILD) would not cause a cache miss. An attacker with the knowledge of the Dockerfile someone is using could poison their cache by making them pull a specially crafted image that would be considered as a valid cache candidate for some build steps. 23.0+ users are only affected if they explicitly opted out of Buildkit (DOCKER_BUILDKIT=0 environment variable) or are using the /build API endpoint. All users on versions older than 23.0 could be impacted. Image build API endpoint (/build) and ImageBuild function from github.com/docker/docker/client is also affected as it the uses classic builder by default. Patches are included in 24.0.9 and 25.0.2 releases.

References

Community reviews

Loading reviews…