Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-24557

published medium CVSS 3.1 · 6.9

Moby classic builder cache poisoning

Published
01 Feb 2024, 16:26:29 UTC
Updated
15 May 2025, 15:27:27 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
moby — moby>= 25.0.0, < 25.0.2 · < 24.0.9 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2DOCKER-2024-044 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2ECS-2024-041 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2NITRO-ENCLAVES-2024-045 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-542 Fixed Not stated Amazon Linux assessment
Alpine Linux edge docker Fixed 25.0.2-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runneraarch64 Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
Amazon Linux AL2 dockeraarch64 Listed in advisory Not stated ALAS2DOCKER-2024-044
Show 33 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.18 docker Fixed 25.0.2-r0 Package fix record
Alpine Linux v3.19 docker Fixed 25.0.2-r0 Package fix record
Alpine Linux v3.20 docker Fixed 25.0.2-r0 Package fix record
Alpine Linux v3.21 docker Fixed 25.0.2-r0 Package fix record
Alpine Linux v3.22 docker Fixed 25.0.2-r0 Package fix record
Alpine Linux v3.23 docker Fixed 25.0.2-r0 Package fix record
Alpine Linux v3.24 docker Fixed 25.0.2-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runnerppc64le Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runners390x Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runnerx86_64 Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-bash-completionaarch64 Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-bash-completionppc64le Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-bash-completions390x Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-bash-completionx86_64 Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-fish-completionaarch64 Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-fish-completionppc64le Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-fish-completions390x Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-fish-completionx86_64 Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-zsh-completionaarch64 Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-zsh-completionppc64le Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-zsh-completions390x Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
SUSE / openSUSE openSUSE-Tumbleweed forgejo-runner-zsh-completionx86_64 Advisory build 3.5.1-1.1 OPENSUSE-SU-2024:14287-1
Amazon Linux AL2 dockeraarch64 Listed in advisory Not stated ALAS2ECS-2024-041
Amazon Linux AL2 dockeraarch64 Listed in advisory Not stated ALAS2NITRO-ENCLAVES-2024-045
Amazon Linux AL2 dockersrc Listed in advisory Not stated ALAS2DOCKER-2024-044
Amazon Linux AL2 dockersrc Listed in advisory Not stated ALAS2ECS-2024-041
Amazon Linux AL2 dockersrc Listed in advisory Not stated ALAS2NITRO-ENCLAVES-2024-045
Amazon Linux AL2 dockerx86_64 Listed in advisory Not stated ALAS2DOCKER-2024-044
Amazon Linux AL2 dockerx86_64 Listed in advisory Not stated ALAS2ECS-2024-041
Amazon Linux AL2 dockerx86_64 Listed in advisory Not stated ALAS2NITRO-ENCLAVES-2024-045
Amazon Linux AL2023 dockeraarch64 Listed in advisory Not stated ALAS2023-2024-542
Amazon Linux AL2023 dockersrc Listed in advisory Not stated ALAS2023-2024-542
Amazon Linux AL2023 dockerx86_64 Listed in advisory Not stated ALAS2023-2024-542

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.9 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
moby moby >= 25.0.0, < 25.0.2 (affected) < 24.0.9 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-346 CWE-346: Origin Validation Error (GitHub_M · cna)
  • CWE-345 CWE-345: Insufficient Verification of Data Authenticity (GitHub_M · cna)

References

2

Provider assertions

3

GitHub_M · cna

Moby classic builder cache poisoning

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
7c0a8c4c43e0b94aeba20555b443a2d2174f542f8edd46f322e76fdbf2ca7bf8
Ingested
23 Sep 2026, 08:19:54 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected