CVE-2024-24557 in Mobyproject Moby
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 k...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mobyproject | Moby | < 24.0.9 ≥ 25.0.0, < 25.0.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-24557 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-189586-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2024-02-01 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-345: CWE-345
CWE-346: CWE-346
Related attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction via CWE-346
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-346
CAPEC-76 Manipulating Web Input to File System Calls via CWE-346
CAPEC-142 DNS Cache Poisoning via CWE-345, CWE-346
CAPEC-218 Spoofing of UDDI/ebXML Messages via CWE-345
Show all 20
CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-345, CWE-346
CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-345, CWE-346
CAPEC-388 Application API Button Hijacking via CWE-345, CWE-346
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-345
CAPEC-75 Manipulating Writeable Configuration Files via CWE-346
CAPEC-89 Pharming via CWE-346
CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-345, CWE-346
CAPEC-141 Cache Poisoning via CWE-345, CWE-346
CAPEC-160 Exploit Script-Based APIs via CWE-346
CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-345, CWE-346
CAPEC-386 Application API Navigation Remapping via CWE-345, CWE-346
CAPEC-510 SaaS User Request Forgery via CWE-346
CAPEC-701 Browser in the Middle (BiTM) via CWE-345
CAPEC-21 Exploitation of Trusted Identifiers via CWE-346
CAPEC-148 Content Spoofing via CWE-345
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-24557 affects Moby's classic builder cache system, allowing cache poisoning if images are built FROM scratch. Changes to certain instructions like HEALTHCHECK and ONBUILD do not trigger a cache miss, enabling attackers to manipulate the build process.
An attacker with knowledge of the Dockerfile can exploit this vulnerability by poisoning the build cache. This can lead to the inclusion of malicious code or configurations in the final container image, compromising the integrity and security of the application.
Questions
What is CVE-2024-24557?
CVE-2024-24557 affects Moby's classic builder cache system, allowing cache poisoning if images are built FROM scratch. Changes to certain instructions like HEALTHCHECK and ONBUILD do not trigger a cache miss, enabling attackers to manipulate the build process.
What is the CVSS score for CVE-2024-24557?
CVE-2024-24557 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2024-24557 actively exploited?
No confirmed active exploitation of CVE-2024-24557 as of 2026-09-25.
How do I remediate CVE-2024-24557?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2024-24557?
CVE-2024-24557 affects Mobyproject Moby.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mobyproject","product":"Moby","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.