Credential Exposure Affecting github.com/docker/cli/cli/command/registry package, versions <20.10.9


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.11% (45th percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
5.4 medium
Expand this section
Red Hat
7.5 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMDOCKERCLICLICOMMANDREGISTRY-1728020
  • published 5 Oct 2021
  • disclosed 5 Oct 2021
  • credit Unknown

How to fix?

Upgrade github.com/docker/cli/cli/command/registry to version 20.10.9 or higher.

Overview

Affected versions of this package are vulnerable to Credential Exposure. 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.

References