{"id":"EUVD-2024-0773","revision":null,"records":[{"revision":"433d792643194f0c9e76f8b0b1e60bf5","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-24557","aliases":[],"title":"Moby classic builder cache poisoning","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.","state":0,"publishedAt":"2024-02-01T16:26:29.685+00:00","modifiedAt":"2025-05-15T15:27:27.082+00:00","affected":[{"ecosystem":"Vendor product","name":"moby","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"moby\",\n                    \"product\": \"moby\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 25.0.0, < 25.0.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \" < 24.0.9\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L","score":6.9,"severity":"MEDIUM"}],"references":["https://github.com/moby/moby/security/advisories/GHSA-xw73-rw38-6vjc","https://github.com/moby/moby/commit/3e230cfdcc989dc524882f6579f9e0dac77400ae"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-24557","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-24557","identifiers":["CVE-2024-24557"]},"retained":false,"historicalAffected":[]},{"revision":"b535b3f9a44a4689bc0ad99da36ca150","observedAt":"2026-11-15T01:51:00.581+00:00","statement":{"source":"euvd","id":"EUVD-2024-0773","aliases":["CVE-2024-24557","GHSA-xw73-rw38-6vjc"],"title":"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 …","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L","score":6.9,"severity":null}],"references":["https://github.com/moby/moby/security/advisories/GHSA-xw73-rw38-6vjc","https://github.com/moby/moby/commit/3e230cfdcc989dc524882f6579f9e0dac77400ae"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0773","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 1, 2024, 4:26:29 PM","dateUpdated":"May 15, 2025, 3:27:27 PM"},"relatedAdvisories":[{"id":"WID-SEC-W-2024-0272","title":"docker: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2024-21626","CVE-2024-23651","CVE-2024-23652","CVE-2024-23653","CVE-2024-23650","CVE-2024-24557"]},{"id":"RHSA-2025:11749","title":"Red Hat Security Advisory: Updated 8.1 container image is now available: security and bug fix update","vulnerabilityIds":["CVE-2024-24557","CVE-2024-45338","CVE-2024-53382","CVE-2025-22865","CVE-2025-22868","CVE-2025-22871","CVE-2025-30204"]},{"id":"openSUSE-SU-2024:14287-1","title":"forgejo-runner-3.5.1-1.1 on GA media","vulnerabilityIds":["CVE-2024-24557"]},{"id":"msrc_CVE-2024-24557","title":"Moby classic builder cache poisoning","vulnerabilityIds":["CVE-2024-24557"]},{"id":"RHSA-2025:9340","title":"Red Hat Security Advisory: Updated 7.1 container image is now available in the Red Hat Ecosystem Catalog.","vulnerabilityIds":["CVE-2024-24557","CVE-2024-34069","CVE-2024-45338"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-0773","identifiers":["EUVD-2024-0773","CVE-2024-24557","GHSA-xw73-rw38-6vjc"]},"retained":false,"historicalAffected":[]},{"revision":"9c26bb06ad8d46c1b26a780b00c31e6e","observedAt":"2026-10-24T23:17:22.571+00:00","statement":{"source":"nvd","id":"CVE-2024-24557","aliases":[],"title":"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 …","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.","state":0,"publishedAt":"2024-02-01T17:15:10.953+00:00","modifiedAt":"2026-06-17T07:14:36.123+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/moby/moby/commit/3e230cfdcc989dc524882f6579f9e0dac77400ae","https://github.com/moby/moby/security/advisories/GHSA-xw73-rw38-6vjc"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-24557","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-345","CWE-346"],"productCriteria":["cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2024-02-01T17:15:10.953","lastModified":"2026-06-17T07:14:36.123"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-24557","identifiers":["CVE-2024-24557"]},"retained":false,"historicalAffected":[]},{"revision":"c9284879d3244c8e94adb81cea13732e","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-xw73-rw38-6vjc","aliases":["CVE-2024-24557","GO-2024-2512"],"title":"Classic builder cache poisoning","description":"The classic builder cache system is prone to cache poisoning if the image is built `FROM scratch`.\nAlso, changes to some instructions (most important being `HEALTHCHECK` and `ONBUILD`) would not cause a cache miss.\n\n\nAn 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.\n\nFor example, an attacker could create an image that is considered as a valid cache candidate for:\n```\nFROM scratch\nMAINTAINER Pawel\n```\n\nwhen in fact the malicious image used as a cache would be an image built from a different Dockerfile.\n\nIn the second case, the attacker could for example substitute a different `HEALTCHECK` command.\n\n\n### Impact\n\n23.0+ users are only affected if they explicitly opted out of Buildkit (`DOCKER_BUILDKIT=0` environment variable) or are using the `/build` API endpoint (which uses the classic builder by default).\n\nAll users on versions older than 23.0 could be impacted. An example could be a CI with a shared cache, or just a regular Docker user pulling a malicious image due to misspelling/typosquatting.\n\nImage build API endpoint (`/build`) and `ImageBuild` function from `github.com/docker/docker/client` is also affected as it the uses classic builder by default. \n\n\n### Patches\n\nPatches are included in Moby releases:\n\n- v25.0.2\n- v24.0.9\n- v23.0.10\n\n### Workarounds\n\n- Use `--no-cache` or use Buildkit if possible (`DOCKER_BUILDKIT=1`, it's default on 23.0+ assuming that the buildx plugin is installed).\n- Use `Version = types.BuilderBuildKit` or `NoCache = true` in `ImageBuildOptions` for `ImageBuild` call.\n\n","state":0,"publishedAt":"2024-02-01T20:51:19+00:00","modifiedAt":"2026-09-10T03:50:00.3157253+00:00","affected":[{"ecosystem":"Go","name":"github.com/docker/docker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"24.0.9"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/moby/moby","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"24.0.9"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/moby/moby","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"25.0.0"},{"kind":"fixed","version":"25.0.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/docker/docker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"25.0.0"},{"kind":"fixed","version":"25.0.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/moby/moby/security/advisories/GHSA-xw73-rw38-6vjc","https://nvd.nist.gov/vuln/detail/CVE-2024-24557","https://github.com/moby/moby/commit/3e230cfdcc989dc524882f6579f9e0dac77400ae","https://github.com/moby/moby/commit/fca702de7f71362c8d103073c7e4a1d0a467fadd","https://github.com/moby/moby/commit/fce6e0ca9bc000888de3daa157af14fa41fcd0ff","https://github.com/moby/moby"],"sourceUrl":"https://github.com/advisories/GHSA-xw73-rw38-6vjc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-xw73-rw38-6vjc","identifiers":["GHSA-xw73-rw38-6vjc","CVE-2024-24557","GO-2024-2512"]},"retained":false,"historicalAffected":[]},{"revision":"8195c32447c248fda38a8c272dda8a01","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-2512","aliases":["CVE-2024-24557","GHSA-xw73-rw38-6vjc"],"title":"Classic builder cache poisoning in github.com/docker/docker","description":"Classic builder cache poisoning in github.com/docker/docker","state":0,"publishedAt":"2024-06-28T15:28:53+00:00","modifiedAt":"2026-02-04T04:11:30.933192+00:00","affected":[{"ecosystem":"Go","name":"github.com/docker/docker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"24.0.9+incompatible"},{"kind":"introduced","version":"25.0.0+incompatible"},{"kind":"fixed","version":"25.0.2+incompatible"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/moby/moby","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"24.0.9+incompatible"},{"kind":"introduced","version":"25.0.0+incompatible"},{"kind":"fixed","version":"25.0.2+incompatible"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/moby/moby/security/advisories/GHSA-xw73-rw38-6vjc","https://github.com/moby/moby/commit/3e230cfdcc989dc524882f6579f9e0dac77400ae","https://github.com/moby/moby/commit/fca702de7f71362c8d103073c7e4a1d0a467fadd","https://github.com/moby/moby/commit/fce6e0ca9bc000888de3daa157af14fa41fcd0ff"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-2512","license":"OSV · upstream source license applies","key":"osv:GO-2024-2512","identifiers":["GO-2024-2512","CVE-2024-24557","GHSA-xw73-rw38-6vjc"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T22:28:24.4991351+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T22:28:24.4991351+00:00","lastSuccessAt":"2026-11-16T22:28:24.7043575+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:28:24.7043586+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-b7ae3bdb0699f2500ff81a2529250ecaa285d9a3824324996c109bf112b16dad","complete":true,"records":426173,"lastAttemptAt":"2026-11-16T22:25:58.3805736+00:00","lastSuccessAt":"2026-11-16T21:26:21.4103203+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:25:58.3805736+00:00","snapshotPublishedAt":"2026-11-16T21:21:33+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-a154cbc1da6344eebf61cc2b79e84032","complete":true,"records":13831,"lastAttemptAt":"2026-11-16T22:29:29.8673047+00:00","lastSuccessAt":"2026-11-16T22:29:29.864+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:29:29.864+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13885,"expectedIdentifiers":13885,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T22:28:24.4991351+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T22:28:24.4991351+00:00","lastSuccessAt":"2026-11-16T22:28:24.7050614+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:28:24.7050618+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e852cf3f102d4dfc8420eba9ed8027fd","complete":false,"records":13844,"lastAttemptAt":"2026-11-16T22:28:51.1313357+00:00","lastSuccessAt":"2026-11-16T22:28:51.121+00:00","error":"10 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T22:28:51.121+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13574,"expectedIdentifiers":13885,"failedIdentifiers":10},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T22:28:24.3319179+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:28:24.3319179+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T22:25:58.4256746+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:25:58.4256746+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T22:28:24.4567855+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:28:24.4567855+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-879bf87060e1e5a31d5f9d7958b545032385ae9cf57c2a5b470e1d57f9693bf8","complete":true,"records":232556,"lastAttemptAt":"2026-11-16T22:28:24.1750579+00:00","lastSuccessAt":"2026-11-16T22:28:22.9672905+00:00","error":null,"lastVerifiedAt":"2026-11-16T22:28:24.1750579+00:00","snapshotPublishedAt":"2026-11-16T22:18:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}