ADVISORIES

openEuler Security Advisory

OESA-2024-1302

docker security update

Details

Docker is an open source project to build, ship and run any application as a lightweight container.

Security Fix(es):

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.(CVE-2024-24557)

Affected packages

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP1docker
All versions before engine-18.09.0-263.oe1 (fixed in engine-18.09.0-263.oe1)
openEuler:20.03-LTS-SP4docker
All versions before engine-18.09.0-263.oe2003sp4 (fixed in engine-18.09.0-263.oe2003sp4)
openEuler:22.03-LTSdocker
All versions before engine-18.09.0-334.oe2203sp3 (fixed in engine-18.09.0-334.oe2203sp3)
openEuler:22.03-LTS-SP1docker
All versions before engine-18.09.0-333.oe2203sp1 (fixed in engine-18.09.0-333.oe2203sp1)
openEuler:22.03-LTS-SP2docker
All versions before engine-18.09.0-333.oe2203sp2 (fixed in engine-18.09.0-333.oe2203sp2)
openEuler:22.03-LTS-SP3docker
All versions before engine-18.09.0-334.oe2203sp3 (fixed in engine-18.09.0-334.oe2203sp3)

References