{"id":"CVE-2020-15186","published":"2020-09-17T21:40:13Z","modified":"2024-08-04T13:08:22Z","title":"Improper sanitization of plugin names in Helm","vendor":"helm","product":"helm","tier":"tail","description":{"text":"In Helm before versions 2.16.11 and 3.3.2 plugin names are not sanitized properly. As a result, a malicious plugin author could use characters in a plugin name that would result in unexpected behavior, such as duplicating the name of another plugin or spoofing the output to `helm --help`. This issue has been patched in Helm 3.3.2. A possible workaround is to not install untrusted Helm plugins. Examine the `name` field in the `plugin.yaml` file for a plugin, looking for characters outside of the [a-zA-Z0-9._-] range.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.4,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00962,"percentile":0.62474,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/helm/helm/security/advisories/GHSA-m54r-vrmv-hw33","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/helm/helm/commit/809e2d999e2c33e20e77f6bff30652d79c287542","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":12.49},{"name":"CVSS severity","points":2.38}]},"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-m54r-vrmv-hw33"],"provenance":"source"},{"ecosystem":"Go","package":"helm.sh/helm","vulnerableRanges":["<2.16.11"],"patched":["2.16.11"],"from":["GHSA-m54r-vrmv-hw33"],"provenance":"source"}],"summary":{"text":"The flaw is improper sanitization of plugin names in Helm, the Kubernetes package manager, where characters in a plugin's name are not validated, allowing unexpected behavior. An attacker who publishes a malicious Helm plugin could exploit this by using crafted characters in the plugin name to duplicate another plugin's name or spoof the output of helm --help, but this requires that a user be induced to install the malicious plugin (user interaction).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:26Z"},"euvd":{"id":"EUVD-2021-1132","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-helm-cve-2020-11013","parents":[{"from":"CVE-2020-15184","to":"CVE-2020-15186","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/plugin/plugin.go"],"commits":["https://github.com/helm/helm/commit/e7c281564d8306e1dcf8023d97f972449ad74850","https://github.com/helm/helm/commit/6aab63765f99050b115f0aec3d6350c85e8da946","https://github.com/helm/helm/commit/809e2d999e2c33e20e77f6bff30652d79c287542","https://github.com/helm/helm/commit/c8d6b01d72c9604e43ee70d0d78fadd54c2d8499"],"basis":"shared function","functions":["LoadAll"]}]},{"from":"CVE-2020-15185","to":"CVE-2020-15186","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/055dd41cbe53ce131ab0357524a7f6729e6e40dc","https://github.com/helm/helm/commit/809e2d999e2c33e20e77f6bff30652d79c287542","https://github.com/helm/helm/commit/c8d6b01d72c9604e43ee70d0d78fadd54c2d8499"],"basis":"shared function","functions":["LoadAll"]}]}],"children":[{"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"]}]}]}}