CVE-2021-41089: GO-2024-2913 - Unexpected chmod of host files via 'docker cp' in Moby Docker Engine in github.com/docker/docker

CVE-2021-41089 · Severity: low · CVSS 3.1 · Published 2024-06-14

Unexpected chmod of host files via 'docker cp' in Moby Docker Engine in github.com/docker/docker

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

Quick answers

Is CVE-2021-41089 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-41089 being exploited in the wild.
How severe is CVE-2021-41089?
Low severity, with a CVSS score of 3.1, published 14 June 2024.
Which products and versions are affected?
github.com/docker/docker (Go) SEMVER:introduced=0,fixed=20.10.9, SEMVER:introduced=0,fixed=20.10.9+incompatible; github.com/moby/moby (Go) SEMVER:introduced=0,fixed=20.10.9+incompatible.
Is there a fix for CVE-2021-41089?
Yes. github.com/docker/docker (Go): upgrade to 20.10.9, 20.10.9+incompatible or later; github.com/moby/moby (Go): upgrade to 20.10.9+incompatible or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-41089?
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 20.10.9, 20.10.9+incompatible or later
    go get github.com/docker/docker@v20.10.9+incompatible
  • github.com/moby/moby (Go): upgrade to 20.10.9+incompatible or later
    go get github.com/moby/moby@v20.10.9+incompatible

Affected products

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

Identifiers

  • CVE-2021-41089
  • GHSA-v994-f8vw-g7j4
  • GO-2024-2913

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