CVE-2017-1002101 Path traversal in Kubernetes

High 8.8 Published Updated

Attackers can access host filesystem files via subpath volume mounts, requiring Kubernetes upgrades to mitigate.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-1002101?

CVE-2017-1002101 is a high-severity path traversal vulnerability in Kubernetes Kubernetes, published on 13 Mar 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, 1.8.9 and 1.9.4 containers using subpath volume mounts with any volume type (including non-privileged pods, subject to file permissions) can access files/directories outside of the volume, including the host's filesystem.

Weakness: CWE-59

Which versions are affected by CVE-2017-1002101?

It affects 1 product.

Products include Kubernetes Kubernetes.

How do I fix CVE-2017-1002101?

Upgrade to a fixed version.

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

Is CVE-2017-1002101 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Kubernetes Kubernetes vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-1002101, GHSA-rqgw-vh6p-qf7j.

Is CVE-2017-1002101 in your software?

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

Check your SBOMs for free