CVE-2021-41092
Docker CLI leaks private registry credentials to registry-1.docker.io
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.
How to fix CVE-2021-41092
To remediate CVE-2021-41092, upgrade the affected package to a fixed version below.
- —upgrade to 20.10.9 or later
- —upgrade to 20.10.5+dfsg1-1+deb11u1 or later
- —upgrade to 20.10.9 or later
- —upgrade to 20.10.9+incompatible or later
Is CVE-2021-41092 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 20.10.9
- from 0, < 20.10.5+dfsg1-1+deb11u1
- from 0, < 20.10.9
- from 0, < 20.10.9+incompatible
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N |