cbcvebase.
CVE-2024-24557
published 2024-02-01

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…

PriorityP339high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.26%
17.1th percentile
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

22 ranges
VendorProductVersion rangeFixed in
debiandocker.io< docker.io 26.1.4+dfsg1-9 (forky)docker.io 26.1.4+dfsg1-9 (forky)
github.comdocker_docker>= 0 < 24.0.9+incompatible24.0.9+incompatible
github.comdocker_docker>= 0 < 24.0.924.0.9
github.comdocker_docker>= 25.0.0 < 25.0.225.0.2
github.comdocker_docker>= 25.0.0+incompatible < 25.0.2+incompatible25.0.2+incompatible
github.commoby_moby>= 0 < 24.0.9+incompatible24.0.9+incompatible
github.commoby_moby>= 0 < 24.0.924.0.9
github.commoby_moby>= 25.0.0 < 25.0.225.0.2
github.commoby_moby>= 25.0.0+incompatible < 25.0.2+incompatible25.0.2+incompatible
mobymoby
mobymoby
mobyprojectmoby< 24.0.924.0.9
mobyprojectmoby>= 25.0.0 < 25.0.225.0.2
msrcazl3_moby-engine_20.10.25-3_on_azure_linux_3.0
msrcazl3_moby-engine_25.0.3-1_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_moby-engine_20.10.27-3_on_cbl_mariner_2.0
msrccbl2_moby-engine_20.10.27-4_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
paloaltocortex_xdr

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_msrc7.8HIGH
vendor_debian6.9MEDIUM
vendor_redhat6.9MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.