CVE-2020-15187
Duplicate plugin entries in Helm
Check your servers for CVE-2020-15187
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-15187 affects helm, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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. 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). This issue has been patched in Helm 2.16.11 and Helm 3.3.2. As a possible workaround make sure to install plugins using a secure connection protocol like SSL.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality none, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.52%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 75.2% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-694 Use of Multiple Resources with Duplicate Identifier
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of helm and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i helm
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-15187 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-15187RHEL, Rocky, Alma, Fedora
rpm -q helm
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-15187Alpine
apk list --installed | grep -i helmWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-15187
trivy image --scanners vuln IMAGE | grep CVE-2020-15187
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/helm/helm/commit/6aab63765f99050b115f0aec3d6350c85e8da946 github.com
- https://github.com/helm/helm/commit/ac7c07c37d87e09797f714fb57aa5e9cb99d9450 github.com
- https://github.com/helm/helm/commit/b0296c0522e837d65f944beefa3fb64fd08ac304 github.com
- https://github.com/helm/helm/commit/c8d6b01d72c9604e43ee70d0d78fadd54c2d8499 github.com
- https://github.com/helm/helm/commit/d9ef5ce8bad512e325390c0011be1244b8380e4b github.com
- https://github.com/helm/helm/commit/f2ede29480b507b7d8bb152dd8b6b86248b00658 github.com
Source: the record CVE-2020-15187 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse