Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2017-1002101 EUVD-2017-1645GHSA-rqgw-vh6p-qf7j

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…

Published Mar 13, 2018 · Updated Aug 5, 2024 · Assigned by kubernetes

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.

Affected products

VendorProductAffectedFixed
Kubernetes Kubernetes v1.3.x, v1.4.x, v1.5.x, v1.6.x, unspecified – < v1.7.14, unspecified – < v1.8.9, unspecified – < v1.9.4 v1.7.14

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 kubernetes 1.7.16+dfsg-1 —
Debian 13 kubernetes 1.7.16+dfsg-1 —
Debian 12 kubernetes 1.7.16+dfsg-1 —
ReleasePackageFixed inAdvisory
Red Hat OpenShift 3 atomic-openshift +11 3.3.1.46.11-1.git.4.e236015.el7 RHSA-2018:0475
Red Hat OpenShift 3 atomic-openshift-service-catalog +2 3.6.173.0.96-1.git.4.e6301f8.el7 RHSA-2018:0475
Red Hat OpenShift 3 atomic-openshift-template-service-broker 3.7.23-1.git.5.83efd71.el7 RHSA-2018:0475
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 cri-o 1.17.1-lp151.2.2 openSUSE-SU-2020:0554-1
openSUSE Leap 15.1 cri-tools 1.18.0-lp151.2.1 openSUSE-SU-2020:0554-1
openSUSE Leap 15.1 go1.14 1.14-lp151.6.1 openSUSE-SU-2020:0554-1
openSUSE Leap 15.1 kubernetes 1.18.0-lp151.5.1 openSUSE-SU-2020:0554-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 kubeadm +2 1.9.1-2.1.5.el7 ELSA-2018-4061

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References