CVE-2024-24557
CVE-2024-24557 is a medium-severity vulnerability in Mobyproject Moby with a CVSS 3.x base score of 6.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-346.
Key facts
- Severity: Medium (CVSS 3.x base score 6.9)
- EPSS exploit prediction: 0% (17th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0773
- Weakness: CWE-346
- Affected product: Mobyproject Moby
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-24557?
- 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.
- How severe is CVE-2024-24557?
- CVE-2024-24557 has a CVSS 3.x base score of 6.9, rated medium severity. It is exploitable over local access with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity high, and availability low.
- Is CVE-2024-24557 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (17th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-24557?
- CVE-2024-24557 affects Mobyproject Moby. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-24557?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-24557 have an EU (EUVD) identifier?
- Yes. CVE-2024-24557 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0773.
- When was CVE-2024-24557 published?
- CVE-2024-24557 was published on 2024-02-01 and last updated on 2026-06-17.
References
- https://github.com/moby/moby/commit/3e230cfdcc989dc524882f6579f9e0dac77400ae
- https://github.com/moby/moby/security/advisories/GHSA-xw73-rw38-6vjc
Affected products (1)
- cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*
More vulnerabilities in Mobyproject Moby
- CVE-2024-36623 — High (CVSS 8.1): moby through v25.0.3 has a Race Condition vulnerability in the streamformatter package which can be used to trigger…
- CVE-2023-28840 — High (CVSS 7.5): Moby is an open source container framework developed by Docker Inc. that is distributed as Docker, Mirantis Container…
- CVE-2018-12608 — High (CVSS 7.5): An issue was discovered in Docker Moby before 17.06.0. The Docker engine validated a client TLS certificate using both…
- CVE-2026-42306 — High (CVSS 7.2): Moby is an open source container framework. In Docker Engine prior to version 29.5.1, Docker Daemon versions 28.5.2 and…
- CVE-2023-28842 — Medium (CVSS 6.8): Moby) is an open source container framework developed by Docker Inc. that is distributed as Docker, Mirantis Container…
- CVE-2023-28841 — Medium (CVSS 6.8): Moby is an open source container framework developed by Docker Inc. that is distributed as Docker, Mirantis Container…
All CVEs affecting Mobyproject Moby →
Other CWE-346 vulnerabilities
- CVE-2026-42901 — Critical (CVSS 10.0): Origin validation error in Microsoft Entra ID allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-6508 — Critical (CVSS 9.8): Origin Validation Error vulnerability in TUBITAK BILGEM Software Technologies Research Institute Liderahenk allows…
- CVE-2026-2790 — Critical (CVSS 9.8): Same-origin policy bypass in the Networking: JAR component. This vulnerability was fixed in Firefox 148, Firefox ESR…
- CVE-2022-50925 — Critical (CVSS 9.8): Prowise Reflect version 1.0.9 contains a remote keystroke injection vulnerability that allows attackers to send…
- CVE-2025-30466 — Critical (CVSS 9.8): This issue was addressed through improved state management. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS…
- CVE-2024-8487 — Critical (CVSS 9.8): A Cross-Origin Resource Sharing (CORS) vulnerability exists in modelscope/agentscope version v0.0.4. The CORS…