CVE-2021-32690: Repository credentials passed to alternate domain

Published Jun 16, 2021
·
Updated

Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-56hp-xqp3-w2jf. This link is maintained to preserve external references.

Original Description Helm is a tool for managing Charts (packages of pre-configured Kubernetes resources). In versions of helm prior to 3.6.1, a vulnerability exists where the username and password credentials associated with a Helm repository could be passed on to another domain referenced by that Helm repository. This issue has been resolved in 3.6.1. There is a workaround through which one may check for improperly passed credentials. One may use a username and password for a Helm repository and may audit the Helm repository in order to check for another domain being used that could have received the credentials. In the index.yaml file for that repository, one may look for another domain in the urls list for the chart versions. If there is another domain found and that chart version was pulled or installed, the credentials would be passed on.

Other sources

A vulnerability was discovered in Helm, which could allow credentials associated with one Helm repository to be leaked to another repository referenced by the first one. In order to exploit this vulnerability, an attacker would need to control a repository trusted by the configuration of the target Helm instance.

Helm could allow a remote attacker to obtain sensitive information, caused by improper validation of user-supplied input by the index.yaml file. By gaining access to the chart archives, an attacker could exploit this vulnerability to obtain sensitive information, and use this information to launch further attacks against the affected system.

IBM

Helm is a tool for managing Charts (packages of pre-configured Kubernetes resources). In versions of helm prior to 3.6.1, a vulnerability exists where the username and password credentials associated with a Helm repository could be passed on to another domain referenced by that Helm repository. This issue has been resolved in 3.6.1. There is a workaround through which one may check for improperly passed credentials. One may use a username and password for a Helm repository and may audit the Helm repository in order to check for another domain being used that could have received the credentials. In the index.yaml file for that repository, one may look for another domain in the urls list for the chart versions. If there is another domain found and that chart version was pulled or installed, the credentials would be passed on.

References: https://github.com/helm/helm/releases/tag/v3.6.1 https://github.com/helm/helm/security/advisories/GHSA-56hp-xqp3-w2jf

Red Hat

While working on the Helm source, a Helm core maintainer discovered a situation where the username and password credentials associated with a Helm repository could be passed on to another domain referenced by that Helm repository.

Impact

The index.yaml within a Helm chart repository contains a reference where to get the chart archive for each version of a chart. The reference can be relative to the index.yaml file or a URL to location. The URL can point to any domain and this is a feature leveraged by Helm users. For example, an index.yaml file can be hosted on GitHub pages while the chart archives are hosted as GitHub releases. These are on different domain names and the index.yaml file points to the other domain.

When a username and password were associated with a Helm repository the username and password were also passed on to other domains referenced in the index.yaml file. This occurred when Helm went to retrieve a specific chart archive on the other domain.

Patches

This issue has been resolved in 3.6.1.

There is a slight behavior change to credential handling with regard to repositories. Usernames and passwords are only passed to the URL location of the Helm repository by default. The username and password are scoped to the scheme, host, and port of the Helm repository. To pass the username and password to other domains Helm may encounter when it goes to retrieve a chart, the new --pass-credentials flag can be used. This flag restores the old behavior for a single repository as an opt-in behavior.

Workarounds

If you use a username and password for a Helm repository you can audit the Helm repository in order to check for another domain being used that could have received the credentials. In the index.yaml file for that repository, look for another domain in the urls list for the chart versions. If there is another domain found and that chart version was pulled or installed the credentials would have been passed on.

For more information

Helm's security policy is spelled out in detail in our SECURITY document.

GitHub

Affected Software

3 affected componentsFixes available
redhat/helm<3.6.1
3.6.1
go/helm.sh/helm/v3<3.6.1
3.6.1
Helm helm<3.6.1

Event History

Jun 16, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·10:10 PM
Data Sourced
via MITRE·10:10 PM
DescriptionSeverityWeakness
Jun 23, 2021
Advisory Published
via GitHub·06:14 PM
Jul 1, 2021
Data Sourced
via Red Hat·08:18 AM
DescriptionSeverityAffected Software
Nov 30, 2022
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
May 20, 2024
Withdrawn
via GitHub·09:26 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-32690?

CVE-2021-32690 is a vulnerability in Helm that allows credentials associated with a Helm repository to be passed on to another domain referenced by that repository.

2

What is the severity of CVE-2021-32690?

CVE-2021-32690 has a severity rating of high (8.6).

3

What software versions are affected by CVE-2021-32690?

Versions of Helm prior to 3.6.1 are affected by CVE-2021-32690.

4

How can I fix CVE-2021-32690?

To fix CVE-2021-32690, upgrade to Helm version 3.6.1 or later.

5

Where can I find more information about CVE-2021-32690?

You can find more information about CVE-2021-32690 at the following references: [GitHub Advisory](https://github.com/helm/helm/security/advisories/GHSA-56hp-xqp3-w2jf), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-32690), [Helm Releases](https://github.com/helm/helm/releases/tag/v3.6.1).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203