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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| moby | moby | >= 25.0.0, < 25.0.2, < 24.0.9 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | docker.io | 26.1.4+dfsg1-9 | — |
| Debian 13 | docker.io | 26.1.4+dfsg1-9 | — |
| Debian 12 | docker.io | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | docker.io | No fix yet | — |
| Ubuntu 26.04 LTS | docker.io | No fix yet | — |
| Ubuntu 25.10 | docker.io | No fix yet | — |
| Ubuntu 24.04 LTS | docker.io-app | 27.5.1-0ubuntu3~24.04.2 | — |
| Ubuntu 22.04 LTS | docker.io-app | 27.5.1-0ubuntu3~22.04.2 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | docker.io | No fix yet | — |
| Ubuntu Pro 22.04 LTS | docker.io | No fix yet | — |
| Ubuntu Pro 20.04 LTS | docker.io | No fix yet | — |
| Ubuntu Pro 20.04 LTS | docker.io-app | 26.1.3-0ubuntu1~20.04.1+esm1 | — |
| Ubuntu Pro 18.04 LTS | docker.io | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | forgejo-runner | 3.5.1-1.1 | openSUSE-SU-2024:14287-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | docker | 25.0.2-r0 | — |
| Alpine v3.23 | docker | 25.0.2-r0 | — |
| Alpine v3.22 | docker | 25.0.2-r0 | — |
| Alpine v3.21 | docker | 25.0.2-r0 | — |
| Alpine v3.20 | docker | 25.0.2-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | docker | 25.0.2-r0 | — |
| Alpine v3.18 | docker | 25.0.2-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | docker | 25.0.3-1.amzn2023.0.1 | ALAS2023-2024-542 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | moby-engine | 25.0.3-1 | — |
| Azure Linux 2 (CBL-Mariner) | moby-engine | 20.10.27-3 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | aactl | 0.4.12-r8 | — |
| Wolfi rolling | argo-workflows | 3.5.5-r4 | — |
| Wolfi rolling | bom | 0.6.0-r4 | — |
| Wolfi rolling | buildkitd | 0.13.1-r2 | — |
| Wolfi rolling | cadvisor +1 | 0.49.1-r4 | — |
| Wolfi rolling | chartmuseum | 0.16.2-r15 | — |
| Wolfi rolling | cosign | 2.2.3-r4 | — |
| Wolfi rolling | crane | 0.19.1-r1 | — |
| Wolfi rolling | crictl +2 | 1.29.0-r6 | — |
| Wolfi rolling | ctop | 0.7.7-r13 | — |
| Wolfi rolling | dagger | 0.10.2-r1 | — |
| Wolfi rolling | docker-credential-gcr | 2.1.22-r2 | — |
| Wolfi rolling | docker-machine-driver-harvester | 1.0.4-r1 | — |
| Wolfi rolling | eksctl | 0.174.0-r1 | — |
| Wolfi rolling | falcoctl | 0.7.3-r5 | — |
| Wolfi rolling | flux | 2.5.1-r3 | — |
| Wolfi rolling | flux-helm-controller | 0.37.4-r5 | — |
| Wolfi rolling | flux-image-reflector-controller | 0.31.2-r3 | — |
| Wolfi rolling | gitsign +2 | 0.8.1-r5 | — |
| Wolfi rolling | goreleaser | 1.25.0-r0 | — |
| Wolfi rolling | guac | 0.5.1-r4 | — |
| Wolfi rolling | helm | 3.14.3-r3 | — |
| Wolfi rolling | helm-3 | 3.19.2-r1 | — |
| Wolfi rolling | helm-4 | 4.0.1-r1 | — |
| Wolfi rolling | helm-operator | 1.34.1-r2 | — |
| Wolfi rolling | k3d +2 | 5.8.3-r9 | — |
| Wolfi rolling | k3s | 1.29.2-r5 | — |
| Wolfi rolling | k8sgpt | 0.3.28-r2 | — |
| Wolfi rolling | k9s | 0.32.4-r2 | — |
| Wolfi rolling | kargo | 0.4.4-r2 | — |
| Wolfi rolling | kots | 1.108.2-r0 | — |
| Wolfi rolling | kpt | 1.0.0_beta55-r5 | — |
| Wolfi rolling | kubeflow-katib +17 | 0.16.0-r7 | — |
| Wolfi rolling | kubescape | 3.0.7-r1 | — |
| Wolfi rolling | kubevela | 1.9.9-r1 | — |
| Wolfi rolling | nerdctl | 1.7.5-r2 | — |
| Wolfi rolling | newrelic-infrastructure-agent | 1.50.0-r3 | — |
| Wolfi rolling | policy-controller +1 | 0.8.4-r4 | — |
| Wolfi rolling | pulumi +3 | 3.103.1-r2 | — |
| Wolfi rolling | rancher-machine | 0.15.0.137-r0 | — |
| Wolfi rolling | scorecard | 4.13.1-r4 | — |
| Wolfi rolling | skaffold | 2.10.1-r3 | — |
| Wolfi rolling | skopeo | 1.15.0-r1 | — |
| Wolfi rolling | slsa-verifier | 2.5.1-r4 | — |
| Wolfi rolling | tekton-chains | 0.20.1-r1 | — |
| Wolfi rolling | timoni | 0.20.0-r3 | — |
| Wolfi rolling | trivy | 0.50.0-r1 | — |
| Wolfi rolling | up | 0.26.0-r1 | — |
| Wolfi rolling | vexctl | 0.2.6-r7 | — |
| Wolfi rolling | zarf | 0.32.3-r0 | — |
| Wolfi rolling | zot | 2.0.2-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/docker/docker | < 24.0.9 | 24.0.9 | GHSA-xw73-rw38-6vjc |
| Go | github.com/docker/docker | >= 25.0.0, < 25.0.2 | 25.0.2 | GHSA-xw73-rw38-6vjc |
| Go | github.com/docker/docker | < 24.0.9+incompatible · >= 25.0.0+incompatible, < 25.0.2+incompatible | 24.0.9+incompatible, 25.0.2+incompatible | GO-2024-2512 |
| 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/moby/moby | < 24.0.9+incompatible · >= 25.0.0+incompatible, < 25.0.2+incompatible | 24.0.9+incompatible, 25.0.2+incompatible | GO-2024-2512 |
Advisories 3
- openSUSE-SU-2024:14287-1 forgejo-runner-3.5.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-0272 docker: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- ALAS2023-2024-542 Important: docker security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 28, 2024