7.8

CVE-2024-24557: Moby classic builder cache poisoning

Modified
AliasesUBUNTU-CVE-2024-24557DEBIAN-CVE-2024-24557CGA-27jg-w8cw-wr55
Published 01-02-2024Last modified 15-05-2025

Vulnerability summary

CVE-2024-24557 is a high (CVSS 7.8) vulnerability in moby. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 105
CGA-22JM-FMJR-77Q6CGA-25CW-M8PG-WXXJCGA-2GPW-4JJJ-6W6PCGA-2RJM-C92X-965XCGA-39VR-GJXJ-CF9RCGA-3CXW-QP9H-MMM7

Showing 100 of 105.

Timeline

  1. 01-02-2024
    PublishedVulnerability first disclosed.
  2. 15-05-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.26% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard109 products
  • aactl< 0.4.12-r8
  • argo-workflows< 3.5.5-r4
  • argo-workflows-fips< 3.5.5-r3
  • bom< 0.6.0-r4
  • buildkitd< 0.13.1-r2
Wolfi87 products
  • aactl< 0.4.12-r8
  • argo-workflows< 3.5.5-r4
  • bom< 0.6.0-r4
  • buildkitd< 0.13.1-r2
  • cadvisor< 0.49.1-r4
Ubuntu2 products
  • docker.ioAll versions (No fix recorded)
  • docker.io-app< 26.1.3-0ubuntu1~20.04.1+esm1 | < 27.5.1-0ubuntu3~22.04.2 | < 27.5.1-0ubuntu3~24.04.2
Alpine1 product
  • docker< 25.0.2-r0
Debian1 product
  • docker.ioAll versions (No fix recorded) | < 26.1.4+dfsg1-9

5 vendors · 200 products · Showing 200 of 205

References

12 links
Show all 12 references