CVE-2020-15185: Duplicated chart entries in Helm

Published Sep 17, 2020
·
Updated

Impact

During a security audit of Helm's code base, security researchers at Trail of Bits identified a bug in which the a Helm repository can contain duplicates of the same chart, with the last one always used. If a repository is compromised, this lowers the level of access that an attacker needs to inject a bad chart into a repository.

To perform this attack, an attacker must have write access to the index file (which can occur during a MITM attack on a non-SSL connection).

Specific Go Packages Affected helm.sh/helm/v3/pkg/repo

Patches

This issue has been patched in Helm 3.3.2 and 2.16.11

Workarounds

- do not install charts from repositories you do not trust - fetch charts using a secure channel of communication (such as TLS) - use helm pull to fetch the chart, then review the chart’s content (either manually, or with helm verify if it has been signed) to ensure it has not been tampered with - manually review the index file in the Helm repository cache before installing software.

Other sources

In Helm before versions 2.16.11 and 3.3.2, a Helm repository can contain duplicates of the same chart, with the last one always used. If a repository is compromised, this lowers the level of access that an attacker needs to inject a bad chart into a repository. To perform this attack, an attacker must have write access to the index file (which can occur during a MITM attack on a non-SSL connection). This issue has been patched in Helm 3.3.2 and 2.16.11. A possible workaround is to manually review the index file in the Helm repository cache before installing software.

Affected Software

4 affected componentsFixes available
go/helm.sh/helm<2.16.11
2.16.11
go/helm.sh/helm/v3>=3.0.0<3.3.2
3.3.2
Helm helm>=2.0.0<2.16.11
Helm helm>=3.0.0<3.3.2

Event History

Sep 17, 2020
CVE Published
via MITRE·09:30 PM
Data Sourced
via MITRE·09:30 PM
DescriptionSeverityWeakness
May 24, 2021
Advisory Published
04:57 PM
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 the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2020-15185.

2

What is the impact of this vulnerability?

The impact of this vulnerability is that a compromised Helm repository can contain duplicates of the same chart, allowing an attacker to lower the level of access.

3

Which versions of Helm are affected?

Helm versions 2.0.0 up to but excluding 2.16.11, and Helm versions 3.0.0 up to but excluding 3.3.2 are affected.

4

What is the severity of CVE-2020-15185?

CVE-2020-15185 has a severity rating of medium (2.7).

5

How can I fix this vulnerability?

To fix this vulnerability, upgrade to Helm version 2.16.11 or Helm version 3.3.2.

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