Live threats

All CVEs / Docker

CVE-2021-41092Docker Command Line Interface

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Oct 4, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-522
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

Docker CLI is the command line interface for the docker container runtime. A bug was found in the Docker CLI where running `docker login my-private-registry.example.com` with a misconfigured configuration file (typically `~/.docker/config.json`) listing a `credsStore` or `credHelpers` that could not be executed would result in any provided credentials being sent to `registry-1.docker.io` rather than the intended private registry. This bug has been fixed in Docker CLI 20.10.9. Users should update to this version as soon as possible. For users unable to update ensure that any configured credsStore or credHelpers entries in the configuration file reference an installed credential helper that is executable and on the PATH.

Original NVD text.

What to do

  1. Apply the vendor's security update for Command Line Interface.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/docker/cli < 20.10.9 20.10.9 go get github.com/docker/cli@v20.10.9
Go github.com/docker/cli < 20.10.9+incompatible 20.10.9+incompatible go get github.com/docker/cli@v20.10.9+incompatible

Per OSV / GitHub Advisories (GHSA-99pg-grm5-qq3v, GO-2024-2912). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dockercommand_line_interface< 20.10.9
fedoraprojectfedora34
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.