CVE-2020-4053 Path Traversal in Helm Plugin Archive

Low 3.7 Published Updated

A malicious plugin author can exploit path traversal in Helm to copy files outside the intended directory during plugin installation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-4053?

CVE-2020-4053 is a low-severity path traversal vulnerability in The Helm Project Helm, published on 16 Jun 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In Helm greater than or equal to 3.0.0 and less than 3.2.4, a path traversal attack is possible when installing Helm plugins from a tar archive over HTTP. It is possible for a malicious plugin author to inject a relative path into a plugin archive, and copy a file outside of the intended directory. This has been fixed in 3.2.4.

Weakness: CWE-22

Which versions are affected by CVE-2020-4053?

3 open source packages ship an affected version, including helm.sh/helm/v3 and helm. It affects 1 product.

PackageAffectedFixed in
helm.sh/helm/v3 GoFrom 3.0.03.2.4
helm.sh/helm/v3 GoFrom 3.0.03.2.4
helm BitnamiFrom 3.0.03.2.4

Products include Helm Helm.

How do I fix CVE-2020-4053?

Upgrade helm.sh/helm/v3 to 3.2.4 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-4053 being exploited?

There is no known exploitation of CVE-2020-4053 in the wild and no public exploit code.

Sources

Also known as BIT-helm-2020-4053, GHSA-qq3j-xp49-j73f.

Is CVE-2020-4053 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free