Credential Exposure Affecting github.com/docker/cli/cli/command/registry Open this link in a new tab package, versions <20.10.9


0.0
medium
  • Attack Complexity

    Low

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