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.
CVE-2021-41092 - Medium Severity Vulnerability
Vulnerable Library - github.com/docker/cli-v20.10.6+incompatible
The Docker CLI
Library home page: https://proxy.golang.org/github.com/docker/cli/@v/v20.10.6+incompatible.zip
Path to dependency file: /portainer-develop/portainer-develop/api/go.mod
Path to vulnerable library: /portainer-develop/portainer-develop/api/go.mod
Dependency Hierarchy: - :x: **github.com/docker/cli-v20.10.6+incompatible** (Vulnerable Library)
Found in HEAD commit: ec9d972edb7fb1ea028782bd0f770272d89e0c60
Found in base branch: main
Vulnerability 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.
Publish Date: 2021-10-04
URL: CVE-2021-41092
CVSS 3 Score Details (5.4)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: High - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/docker/cli/security/advisories/GHSA-99pg-grm5-qq3v
Release Date: 2021-10-04
Fix Resolution: v20.10.9
Step up your Open Source Security Game with Mend here