CVE-2024-24557: GO-2024-2512 - Classic builder cache poisoning in github.com/docker/docker

CVE-2024-24557 · Severity: low · CVSS 3.1 · Published 2024-06-28

Classic builder cache poisoning in github.com/docker/docker

Technologies: github.com/docker/docker (Go), github.com/moby/moby (Go). Vendors: Go.

Quick answers

Is CVE-2024-24557 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-24557 being exploited in the wild.
How severe is CVE-2024-24557?
Low severity, with a CVSS score of 3.1, published 28 June 2024.
Which products and versions are affected?
github.com/docker/docker (Go) SEMVER:introduced=0,fixed=24.0.9, SEMVER:introduced=0,fixed=24.0.9+incompatible,introduced=25.0.0+incompatible,fixed=25.0.2+incompatible; github.com/moby/moby (Go) SEMVER:introduced=0,fixed=24.0.9, SEMVER:introduced=0,fixed=24.0.9+incompatible,introduced=25.0.0+incompatible,fixed=25.0.2+incompatible.
Is there a fix for CVE-2024-24557?
Yes. github.com/docker/docker (Go): upgrade to 24.0.9, 25.0.2+incompatible or later; github.com/moby/moby (Go): upgrade to 24.0.9, 25.0.2+incompatible or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-24557?
Check whether you run github.com/docker/docker (Go) or github.com/moby/moby (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/docker/docker (Go): upgrade to 24.0.9, 25.0.2+incompatible or later
    go get github.com/docker/docker@v25.0.2+incompatible
  • github.com/moby/moby (Go): upgrade to 24.0.9, 25.0.2+incompatible or later
    go get github.com/moby/moby@v25.0.2+incompatible

Affected products

  • github.com/docker/docker (Go) SEMVER:introduced=0,fixed=24.0.9, SEMVER:introduced=0,fixed=24.0.9+incompatible,introduced=25.0.0+incompatible,fixed=25.0.2+incompatible
  • github.com/moby/moby (Go) SEMVER:introduced=0,fixed=24.0.9, SEMVER:introduced=0,fixed=24.0.9+incompatible,introduced=25.0.0+incompatible,fixed=25.0.2+incompatible

Identifiers

  • CVE-2024-24557
  • GHSA-xw73-rw38-6vjc
  • GO-2024-2512

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.