ADVISORIES

Alpine Security Database

ALPINE-CVE-2021-41092

Details

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 packages

EcosystemPackageAffected versions
Alpine:v3.14docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)
Alpine:v3.15docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)
Alpine:v3.16docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)
Alpine:v3.17docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)
Alpine:v3.18docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)
Alpine:v3.19docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)
Alpine:v3.20docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)
Alpine:v3.21docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)
Alpine:v3.22docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)
Alpine:v3.23docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)
Alpine:v3.24docker
All versions before 20.10.9-r0 (fixed in 20.10.9-r0)

References