Skip to content
OpenAdvisories
Medium · 5.4 CVE-2021-41092 BIT-docker-cli-2021-41092EUVD-2024-2000GHSA-99pg-grm5-qq3vGO-2024-2912

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

Published Oct 4, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
docker cli < 20.10.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 docker.io 20.10.10+dfsg1-1 —
Debian 13 docker.io 20.10.10+dfsg1-1 —
Debian 12 docker.io 20.10.10+dfsg1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS docker.io 20.10.7-0ubuntu7 —
Ubuntu 20.04 LTS docker.io 20.10.7-0ubuntu5~20.04.2 USN-5134-1
Ubuntu 18.04 LTS docker.io 20.10.7-0ubuntu5~18.04.3 USN-5134-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS docker.io No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP6 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP3 containerd 1.4.11-56.1 SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1
SLES 15 SP3 docker 20.10.9_ce-156.1 SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1
SLES 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP3 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
Show 20 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 15 SP2 containerd 1.4.11-56.1 SUSE-SU-2021:3506-1
SLES 15 SP2 docker 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SLES 15 SP2 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
SLES 15 SP1 containerd 1.4.11-56.1 SUSE-SU-2021:3506-1
SLES 15 SP1 docker 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SLES 15 SP1 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
SLES 15 containerd 1.4.11-56.1 SUSE-SU-2021:3506-1
SLES 15 docker 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SLES 15 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
SLES 12 SP5 docker-stable 24.0.9_ce-1.20.1 SUSE-SU-2025:03540-1
SLES 12 containerd 1.4.11-16.45.1 SUSE-SU-2022:0213-1, SUSE-SU-2021:3336-1
SLES 12 docker 20.10.9_ce-98.72.1 SUSE-SU-2022:0213-1, SUSE-SU-2021:3336-1
SLES 12 runc 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SLES for SAP 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES for SAP 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES for SAP 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES for SAP 15 SP1 containerd 1.4.11-56.1 SUSE-SU-2021:3506-1
SLES for SAP 15 SP1 docker 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SLES for SAP 15 SP1 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
SLES for SAP 15 containerd 1.4.11-56.1 SUSE-SU-2021:3506-1
SLES for SAP 15 docker 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SLES for SAP 15 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
SLE Micro 5.1 containerd 1.4.11-56.1 SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1
SLE Micro 5.1 docker 20.10.9_ce-156.1 SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1
SLE Micro 5.1 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
SLE Micro 5.0 containerd 1.4.11-56.1 SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1
SLE Micro 5.0 docker 20.10.9_ce-156.1 SUSE-SU-2022:0334-1, SUSE-SU-2021:3506-1
SLE Micro 5.0 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
SLE HPC 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP1 containerd 1.4.11-56.1 SUSE-SU-2021:3506-1
SLE HPC 15 SP1 docker 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SLE HPC 15 SP1 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
SLE HPC 15 containerd 1.4.11-56.1 SUSE-SU-2021:3506-1
SLE HPC 15 docker 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SLE HPC 15 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
SUSE Enterprise Storage 7.1 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SUSE Enterprise Storage 7 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
SUSE Enterprise Storage 6 containerd 1.4.11-56.1 SUSE-SU-2021:3506-1
SUSE Enterprise Storage 6 docker 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SUSE Enterprise Storage 6 runc 1.0.2-23.1 SUSE-SU-2021:3506-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed docker 20.10.9_ce-1.1 openSUSE-SU-2024:11566-1
openSUSE Tumbleweed docker-stable 24.0.9_ce-15.1 openSUSE-SU-2025:15589-1
openSUSE Leap 15.6 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
openSUSE Leap 15.3 containerd 1.4.11-56.1 openSUSE-SU-2022:0334-1, openSUSE-SU-2021:3506-1
openSUSE Leap 15.3 docker +1 20.10.9_ce-156.1 openSUSE-SU-2022:0334-1, openSUSE-SU-2021:3506-1
openSUSE Leap 15.3 runc 1.0.2-23.1 openSUSE-SU-2021:3506-1
openSUSE Leap 15.2 containerd 1.4.11-lp152.2.12.1 openSUSE-SU-2021:1404-1
openSUSE Leap 15.2 docker 20.10.9_ce-lp152.2.18.1 openSUSE-SU-2021:1404-1
openSUSE Leap 15.2 runc 1.0.2-lp152.2.9.1 openSUSE-SU-2021:1404-1
ReleasePackageFixed inAdvisory
Alpine v3.24 docker 20.10.9-r0 —
Alpine v3.23 docker 20.10.9-r0 —
Alpine v3.22 docker 20.10.9-r0 —
Alpine v3.21 docker 20.10.9-r0 —
Alpine v3.20 docker 20.10.9-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 docker 20.10.9-r0 —
Alpine v3.18 docker 20.10.9-r0 —
Alpine v3.17 docker 20.10.9-r0 —
Alpine v3.16 docker 20.10.9-r0 —
Alpine v3.15 docker 20.10.9-r0 —
Alpine v3.14 docker 20.10.9-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling dive 0.12.0-r8 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/docker/cli < 20.10.9 20.10.9 GHSA-99pg-grm5-qq3v
Go github.com/docker/cli < 20.10.9+incompatible 20.10.9+incompatible GO-2024-2912

Advisories 15

References