7.5

CVE-2021-41092: Docker CLI leaks private registry credentials to registry-1.docker.io

Modified
AliasesUBUNTU-CVE-2021-41092USN-5134-1DEBIAN-CVE-2021-41092
Published 04-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-41092 is a high (CVSS 7.5) vulnerability in docker cli. EPSS estimates a 1.65% chance of exploitation in the next 30 days, higher than 76.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.65%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 11 · Related 12

Timeline

  1. 04-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

9 scores · 8 sources · 2 versions

EPSS trend

Probability

1.65%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.65% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.

Docker2 products
Alpine1 product
  • docker< 20.10.9-r0
Chainguard1 product
  • dive< 0.12.0-r8
Debian1 product
  • docker.io< 20.10.10+dfsg1-1
Fedoraproject1 product
Github.com/docker1 product
  • cli< 20.10.9 | < 20.10.9+incompatible
Opensuse1 product
  • docker&distro=openSUSE Tumbleweed< 20.10.9_ce-1.1
Ubuntu1 product
  • docker.io< 20.10.7-0ubuntu5~18.04.3 | < 20.10.7-0ubuntu5~20.04.2 | All versions (No fix recorded) | < 20.10.7-0ubuntu7
Wolfi1 product
  • dive< 0.12.0-r8

9 vendors · 10 products

References

14 links
Show all 14 references