{"id":"CVE-2020-15187","published":"2020-09-17T21:50:12Z","modified":"2025-05-29T22:59:03Z","title":"Duplicate plugin entries in Helm","vendor":"helm","product":"helm","tier":"tail","description":{"text":"In Helm before versions 2.16.11 and 3.3.2, 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.\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). This issue has been patched in Helm 2.16.11 and Helm 3.3.2.\nAs a possible workaround make sure to install plugins using a secure connection protocol like SSL.","provenance":"source","from":"CVE.org"},"cvss":{"score":3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01517,"percentile":0.75164,"provenance":"source"},"cwes":[{"id":"CWE-694","name":"Use of Multiple Resources with Duplicate Identifier"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/helm/helm/security/advisories/GHSA-c52f-pq47-2r9j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/helm/helm/commit/6aab63765f99050b115f0aec3d6350c85e8da946","tags":["x_refsource_MISC"]},{"url":"https://github.com/helm/helm/commit/ac7c07c37d87e09797f714fb57aa5e9cb99d9450","tags":["x_refsource_MISC"]},{"url":"https://github.com/helm/helm/commit/b0296c0522e837d65f944beefa3fb64fd08ac304","tags":["x_refsource_MISC"]},{"url":"https://github.com/helm/helm/commit/c8d6b01d72c9604e43ee70d0d78fadd54c2d8499","tags":["x_refsource_MISC"]},{"url":"https://github.com/helm/helm/commit/d9ef5ce8bad512e325390c0011be1244b8380e4b","tags":["x_refsource_MISC"]},{"url":"https://github.com/helm/helm/commit/f2ede29480b507b7d8bb152dd8b6b86248b00658","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":15.03},{"name":"CVSS severity","points":2.1}]},"vendorSlug":"helm","affectedVersions":[{"vendor":"helm","product":"helm","versions":[">= 2.0.0, < 2.16.11",">= 3.0.0, < 3.3.2"]}],"affected":[{"ecosystem":"Go","package":"helm.sh/helm/v3","vulnerableRanges":[">=3.0.0, <3.3.2"],"patched":["3.3.2"],"from":["GHSA-c52f-pq47-2r9j"],"provenance":"source"},{"ecosystem":"Go","package":"helm.sh/helm","vulnerableRanges":[">=2.0.0, <2.16.11"],"patched":["2.16.11"],"from":["GHSA-c52f-pq47-2r9j"],"provenance":"source"}],"summary":{"text":"Helm's plugin handling accepts duplicate entries in a plugin definition, and the last duplicate is the one applied, which lets a tampered plugin alter its install hooks. An attacker who can modify the plugin's git repository or .tgz archive during download (for example through a man-in-the-middle position on a non-SSL connection) and who has a local user with the plugin installed can trigger code execution on that host, which requires that user to take an interaction step with the plugin.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:28Z"},"euvd":{"id":"EUVD-2021-1035","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-helm-cve-2020-11013","parents":[{"from":"CVE-2020-15186","to":"CVE-2020-15187","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/plugin/plugin.go"],"commits":["https://github.com/helm/helm/commit/809e2d999e2c33e20e77f6bff30652d79c287542","https://github.com/helm/helm/commit/c8d6b01d72c9604e43ee70d0d78fadd54c2d8499","https://github.com/helm/helm/commit/6aab63765f99050b115f0aec3d6350c85e8da946","https://github.com/helm/helm/commit/ac7c07c37d87e09797f714fb57aa5e9cb99d9450"],"basis":"shared function","functions":["LoadAll","LoadDir"]}]}],"children":[{"from":"CVE-2020-15187","to":"CVE-2021-21303","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/plugin/plugin.go"],"commits":["https://github.com/helm/helm/commit/6aab63765f99050b115f0aec3d6350c85e8da946","https://github.com/helm/helm/commit/ac7c07c37d87e09797f714fb57aa5e9cb99d9450","https://github.com/helm/helm/commit/6ce9ba60b73013857e2e7c73d3f86ed70bc1ac9a"],"basis":"shared function","functions":["IndexDirectory"]}]},{"from":"CVE-2020-15187","to":"CVE-2022-23525","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/repo/index.go"],"commits":["https://github.com/helm/helm/commit/6aab63765f99050b115f0aec3d6350c85e8da946","https://github.com/helm/helm/commit/ac7c07c37d87e09797f714fb57aa5e9cb99d9450","https://github.com/helm/helm/commit/638ebffbc2e445156f3978f02fd83d9af1e56f5b"],"basis":"shared function","functions":["loadIndex"]}]},{"from":"CVE-2020-15187","to":"CVE-2024-26147","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/plugin/plugin.go"],"commits":["https://github.com/helm/helm/commit/6aab63765f99050b115f0aec3d6350c85e8da946","https://github.com/helm/helm/commit/ac7c07c37d87e09797f714fb57aa5e9cb99d9450","https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af"],"basis":"shared function","functions":["loadIndex"]}]},{"from":"CVE-2020-15187","to":"CVE-2025-55198","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/repo/index.go"],"commits":["https://github.com/helm/helm/commit/6aab63765f99050b115f0aec3d6350c85e8da946","https://github.com/helm/helm/commit/ac7c07c37d87e09797f714fb57aa5e9cb99d9450","https://github.com/helm/helm/commit/ec5f59e2db56533d042a124f5bae54dd87b558e6"],"basis":"shared function","functions":["loadIndex"]}]}]}}