CVE-2024-24557: Moby classic builder cache poisoning
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.
Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 105Showing 100 of 105.
Timeline
- 01-02-2024PublishedVulnerability first disclosed.
- 15-05-2025Last 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- CVE.orgCNA6.9MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:LDiffers
- OSV · GoEcosystem advisory · calculated6.9MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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- github.com/moby/moby/security/advisories/GHSA-xw73-rw38-6vjcX Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory
- github.com/moby/moby/commit/3e230cfdcc989dc524882f6579f9e0dac77400aeX Refsource MISCREPORTFIXWEBPatch
- github.com/moby/mobyPACKAGE