VDB

CVE-2021-41092

CVE-2021-41092 PUBLISHED CVSS 5.4 MEDIUM

Docker CLI leaks private registry credentials to registry-1.docker.io

Reported by github_m · Published October 4, 2021

github.com/docker/cli is fixed in 20.10.9+incompatible and 20.10.9 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/docker/cliGo Modules20.10.9+incompatible, 20.10.9
dockerArch Linux1:20.10.9-1
diveChainguard0.12.0-r8
diveWolfi0.12.0-r8
dockerAlpine20.10.9-r0
docker-cliBitnami20.10.9
command_line_interfacedocker20.10.9
pathvaln/aunspecified
docker-cliBitnami20.10.9

Risk scores

CVSS 3.1
5.4
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N

Affected products

VendorProductVersions
dockercli< 20.10.9
archdocker0
chainguarddive0
wolfidive0
alpinedocker0
github.comdocker/cli0
dockercli0

Timeline

  • Oct 4, 2021 CVE Published
  • Oct 5, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (10 in total, the first dated here)
  • Mar 20, 2026 Distribution Patch (3 in total, the first dated here)
  • Jul 21, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-41092
vulnetix vdb fixes CVE-2021-41092

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-41092/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›