Vulnerabilities in pkg:golang/helm.sh/helm

PACKAGE
Advisory Identifier: GHSA-c52f-pq47-2r9j
Advisory Summary

CVE-2020-15187 is a LOW (CVSS 3.0) plugin.yaml file allows for duplicate vulnerability (CWE-694: Use of Multiple Resources with Duplicate Identifier) affecting Helm.sh/helm/v3 libraries in the Go ecosystem. The issue involves plugin.yaml file allows for duplicate entries in helm. Remediation is available by upgrading affected packages to version 3.3.2, 2.16.11.

7 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/helm.sh/helm

7 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/helm.sh/helm. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-c52f-pq47-2r9j CVE-2020-15187 LOW plugin.yaml file allows for duplicate entries in helm
GHSA-m54r-vrmv-hw33 CVE-2020-15186 LOW Improper Sanitizing of plugin names in helm
GHSA-jm56-5h66-w453 CVE-2020-15185 LOW Repository index file allows for duplicates of the same chart entry in helm
GHSA-9vp5-m38w-j776 CVE-2020-15184 LOW Aliases are never checked in helm
GHSA-xrxm-mvqm-r553 CVE-2019-1000008 MODERATE Helm Path Traversal
GHSA-p5pc-m4q7-7qm9 CVE-2019-18658 CRITICAL Helm Unsafe Link Following
GHSA-x6r5-vxfg-gq3v CVE-2019-1010275 CRITICAL Helm Improper Certificate Validation

CVE-2020-15187 at a Glance

CVE Identifier CVE-2020-15187
GHSA Identifier GHSA-c52f-pq47-2r9j
Severity LOW
CVSS v3.1 Base Score 3.0
CWE Classification CWE-694: Use of Multiple Resources with Duplicate Identifier
Affected Product Helm.sh/helm/v3
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 3.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2020-15187

To remediate this vulnerability, upgrade all affected Helm.sh/helm/v3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

helm.sh/helm/v3 fixed: 3.3.2
Upgrade helm.sh/helm/v3 to 3.3.2
helm.sh/helm fixed: 2.16.11
Upgrade helm.sh/helm to 2.16.11
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for helm.sh/helm/v3

How to Check if You Are Affected

To determine whether your application is affected by CVE-2020-15187, inspect your project dependencies for Helm.sh/helm/v3:

inspect dependencies for helm.sh/helm/v3

Analyze the terminal output to locate any version of Helm.sh/helm/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-694: Use of Multiple Resources with Duplicate Identifier, where the product uses multiple resources that can have the same identifier, in a context in which unique identifiers are required. In Helm.sh/helm/v3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact During a security audit of Helm's code base, Helm maintainers identified a bug in which a Helm plugin can contain duplicates of the same entry, with the last one always used. If a plugin is compromised, this lowers the level of access that an attacker needs to modify a plugin's install hooks, causing a local execution attack. To perform this attack, an attacker must have write access to the git repository or plugin archive (.tgz) while being downloaded (which can occur during a MITM attack on a non-SSL connection). ### Patches This issue has been patched in Helm 2.16.11 and Helm 3.3.2. ### Workarounds Make sure to install plugins using a secure connection protocol like SSL.

CVE-2020-15187 Affected Helm.sh/helm/v3 Versions

2 component(s)
Fixed Versions:
3.3.22.16.11
Product / Package Ecosystem Affected Versions Fixed Version
helm.sh/helm/v3
Go
≥ 3.0.0
< 3.3.2
3.3.2
helm.sh/helm
Go
≥ 2.0.0
< 2.16.11
2.16.11

References

Frequently Asked Questions

What is CVE-2020-15187?
CVE-2020-15187 is a security vulnerability in Helm.sh/helm/v3 involving plugin.yaml file allows for duplicate entries in helm under CWE-694: Use of Multiple Resources with Duplicate Identifier.
Which Helm.sh/helm/v3 versions are affected?
Affected versions include releases prior to 3.3.2, 2.16.11 across affected packages: helm.sh/helm/v3, helm.sh/helm.
What version fixes CVE-2020-15187?
Upgrading to 3.3.2, 2.16.11 (or the latest patched release for your respective branch) resolves the vulnerability.
Is helm.sh/helm/v3 affected?
Yes, helm.sh/helm/v3 is affected in releases prior to 3.3.2. Upgrade your dependency to 3.3.2 or later.
Is helm.sh/helm affected?
Yes, helm.sh/helm is affected in releases prior to 2.16.11. Upgrade your dependency to 2.16.11 or later.
What is the CVSS score of CVE-2020-15187?
CVE-2020-15187 has a CVSS v3.1 base score of 3.0 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N.
What CWE is associated with CVE-2020-15187?
CVE-2020-15187 is classified under CWE-694: Use of Multiple Resources with Duplicate Identifier (The product uses multiple resources that can have the same identifier, in a context in which unique identifiers are required.).
How can I check Go dependencies for CVE-2020-15187?
Run the dependency tree command: 'inspect dependencies for helm.sh/helm/v3'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c52f-pq47-2r9j",
  "modified" : "2025-05-29T22:59:16Z",
  "published" : "2021-05-24T16:57:21Z",
  "aliases" : [ "CVE-2020-15187" ],
  "summary" : "plugin.yaml file allows for duplicate entries in helm",
  "details" : "### Impact\n\nDuring a security audit of Helm's code base, Helm maintainers identified a bug in which a Helm plugin can contain duplicates of the same entry, with the last one always used. If a plugin is compromised, this lowers the level of access that an attacker needs to modify a plugin's install hooks, causing a local execution attack.\n\nTo perform this attack, an attacker must have write access to the git repository or plugin archive (.tgz) while being downloaded (which can occur during a MITM attack on a non-SSL connection).\n\n### Patches\n\nThis issue has been patched in Helm 2.16.11 and Helm 3.3.2.\n\n### Workarounds\n\nMake sure to install plugins using a secure connection protocol like SSL.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "helm.sh/helm/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "helm.sh/helm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.16.11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/security/advisories/GHSA-c52f-pq47-2r9j"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15187"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/commit/6aab63765f99050b115f0aec3d6350c85e8da946"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/commit/ac7c07c37d87e09797f714fb57aa5e9cb99d9450"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/commit/b0296c0522e837d65f944beefa3fb64fd08ac304"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/commit/c8d6b01d72c9604e43ee70d0d78fadd54c2d8499"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/commit/d9ef5ce8bad512e325390c0011be1244b8380e4b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/commit/f2ede29480b507b7d8bb152dd8b6b86248b00658"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/helm/helm"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-694", "CWE-74" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-24T12:56:32Z",
    "nvd_published_at" : "2020-09-17T22:15:00Z"
  }
}