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.

Open
LOW (3.5)
  • T

    Tim Bastin detected CVE-2024-24557 with a risk of 3.55

  • T

    Tim Bastin detected CVE-2024-24557 with a risk of 3.55

  • T

    Tim Bastin fixed CVE-2024-24557

  • T

    Tim Bastin fixed CVE-2024-24557

  • T

    Tim Bastin detected CVE-2024-24557 with a risk of 3.55

  • logo

    System updated the risk assessment to 1.77

    System recalculated raw risk assessment

  • logo

    System updated the risk assessment to 3.55

    System recalculated raw risk assessment

  • logo

    System updated the risk assessment to 1.77

    System recalculated raw risk assessment

  • T

    Tim Bastin fixed CVE-2024-24557

  • T

    Tim Bastin detected CVE-2024-24557 with a risk of 3.55

  • logo

    System updated the risk assessment from 3.55 to 1.77

    System recalculated raw risk assessment

  • logo

    System updated the risk assessment from 1.77 to 3.55

    System recalculated raw risk assessment

  • logo

    System fixed CVE-2024-24557

  • logo

    System detected CVE-2024-24557 with a risk of 3.55

  • logo

    System removed scanner:

  • logo

    System removed scanner: container-scanning

  • logo

    System fixed CVE-2024-24557

  • logo

    System detected CVE-2024-24557 with a risk of 3.55

  • logo

    System removed scanner: container-scanning

  • logo

    System detected CVE-2024-24557 with scanner: container-scanning github.com/l3montree-dev/devguard/cmd/devguard-scanner/container-scanning

  • logo

    System removed scanner:

  • T

    Tim Bastin fixed CVE-2024-24557

  • logo

    System detected CVE-2024-24557 with a risk of 3.55

  • T

    Tim Bastin fixed CVE-2024-24557

  • logo

    System detected CVE-2024-24557 with a risk of 3.55

Add a comment

Mark as False Positive
Last calculated at:

Affected component

Logo von golang github.com/docker/docker

Installed version:
24.0.0
Fixed in:
v24.0.9

Quick Fix

Update all Dependencies
Update only github.com/docker/docker
Copyright © 2025 L3montree GmbH and the DevGuard Contributors. All rights reserved. Version 667098114b5ef45c7830e7aa599604fa65eb818f