{"id":"CVE-2021-41092","published":"2021-10-04T20:10:10Z","modified":"2024-08-04T02:59:31Z","title":"Docker CLI leaks private registry credentials to registry-1.docker.io","vendor":"docker","product":"cli","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01607,"percentile":0.765,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/docker/cli/security/advisories/GHSA-99pg-grm5-qq3v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/docker/cli/commit/893e52cf4ba4b048d72e99748e0f86b2767c6c6b","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":15.3},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"docker","affectedVersions":[{"vendor":"docker","product":"cli","versions":["< 20.10.9"]}],"affected":[{"ecosystem":"Go","package":"github.com/docker/cli","vulnerableRanges":["<20.10.9","<20.10.9+incompatible"],"patched":["20.10.9","20.10.9+incompatible"],"from":["GHSA-99pg-grm5-qq3v","GO-2024-2912"],"provenance":"source"}],"summary":{"text":"The Docker CLI contains a flaw where, if the configuration file (typically ~/.docker/config.json) references a credsStore or credHelpers entry that cannot be executed, running docker login against a private registry sends the supplied credentials to registry-1.docker.io instead of the intended registry. An attacker would need to be able to reach the network path that receives the traffic, and the exploit requires high attack complexity, high privileges, and user interaction, with the victim's misconfigured credential helper setup being the enabling condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:10Z"},"euvd":{"id":"EUVD-2024-2000","exploited":false,"provenance":"source"}}