Home / moby / moby / CVE-2024-24557
CVE-2024-24557: is it exploited, and which versions of moby are affected and fixed?
CVE-2024-24557 is an origin not validated vulnerability in moby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: github.com/docker/docker before 24.0.9, github.com/moby/moby before 24.0.9, github.com/moby/moby from 25.0.0 before 25.0.2 and 1 more (GitHub advisory GHSA-xw73-rw38-6vjc). Fixed in 24.0.9 and 25.0.2 (GitHub advisory GHSA-xw73-rw38-6vjc). Severity: Medium (6.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:32 UTC.
What is CVE-2024-24557?
Moby classic builder cache poisoning
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.
From the CVE record by GitHub_M, last updated May 15, 2025, 15:27 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| moby | moby | >= 25.0.0, < 25.0.2 < 24.0.9 |
As the CVE record by GitHub_M states it, last updated May 15, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/docker/docker | < 24.0.9 | 24.0.9 | GHSA-xw73-rw38-6vjc |
| Go | github.com/moby/moby | < 24.0.9 | 24.0.9 | GHSA-xw73-rw38-6vjc |
| Go | github.com/moby/moby | >= 25.0.0, < 25.0.2 | 25.0.2 | GHSA-xw73-rw38-6vjc |
| Go | github.com/docker/docker | >= 25.0.0, < 25.0.2 | 25.0.2 | GHSA-xw73-rw38-6vjc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 5, 2024. Summary: Classic builder cache poisoning.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mobyproject | moby | before 24.0.9 | application |
| mobyproject | moby | from 25.0.0 before 25.0.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 07:14 UTC.
How severe is CVE-2024-24557?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L | GitHub_M |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-24557 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 15, 2025)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 19.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/moby/moby/security/advisories/GHSA-xw73-rw38-6vjc x_refsource_CONFIRM
- https://github.com/moby/moby/commit/3e230cfdcc989dc524882f6579f9e0dac77400ae x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 25, 2024
- Published
- February 1, 2024, 16:26 UTC
- CVE record updated
- May 15, 2025, 15:27 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 07:14 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:32 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect moby?
- Nov 25, 2026CVE-2026-135124 Docker Engine: time-of-check time-of-use race condition
- Nov 10, 2026CVE-2026-115538 Docker Engine: protection mechanism failure
- Nov 10, 2026CVE-2026-115539 moby SwarmKit: unintended Proxy or Intermediary
- Oct 7, 2026CVE-2026-92543 Docker Engine: improper certificate validation
- Jun 12, 2026CVE-2026-42306 moby: UNIX Symbolic Link (Symlink) Following
- Jun 12, 2026CVE-2026-41568 moby: improper Neutralization of Script in an Error Message Web Page
- Mar 31, 2026CVE-2026-33997 moby: off-by-one Error
- Mar 31, 2026CVE-2026-34040 moby: authentication bypass through another path
Questions about CVE-2024-24557
Is CVE-2024-24557 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of moby are affected by CVE-2024-24557?
github.com/docker/docker before 24.0.9, github.com/moby/moby before 24.0.9, github.com/moby/moby from 25.0.0 before 25.0.2 and github.com/docker/docker from 25.0.0 before 25.0.2, per the GitHub advisory GHSA-xw73-rw38-6vjc. The tables above give every range the sources list.
Which version fixes CVE-2024-24557?
24.0.9 and 25.0.2, per the GitHub advisory GHSA-xw73-rw38-6vjc. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-24557?
Medium (6.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-24557?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.