CVE-2021-41092 MEDIUM

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

Vendor Docker
Product cli
Weakness CWE-200 · Info exposure
Published October 4, 2021
Last update August 4, 2024

CVSS base score

5.4/10
Attack vector Network
Attack complexity High
Privileges required High
User interaction Required
Confidentiality High
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 4, 2021 CVE published
August 4, 2024 Record updated