cbcvebase.
CVE-2017-1002101
published 2018-03-13

CVE-2017-1002101: 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…

PriorityP259critical9.6CVSS 3.0
AVNACLPRLUINSCCHIHAN
EPSS
11.59%
95.5th percentile
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

19 ranges
VendorProductVersion rangeFixed in
debiankubernetes< kubernetes 1.7.16+dfsg-1 (bookworm)kubernetes 1.7.16+dfsg-1 (bookworm)
kuberneteskubernetes
kuberneteskubernetes
kuberneteskubernetes
kuberneteskubernetes
kuberneteskubernetes>= 0 < 1.7.16+dfsg-11.7.16+dfsg-1
kuberneteskubernetes>= 0 < 1.7.16+dfsg-11.7.16+dfsg-1
kuberneteskubernetes>= 0 < 1.7.16+dfsg-11.7.16+dfsg-1
kuberneteskubernetes>= 0 < 1.7.16+dfsg-11.7.16+dfsg-1
kuberneteskubernetes1.3.0 – 1.3.10
kuberneteskubernetes1.4.0 – 1.4.12
kuberneteskubernetes1.5.0 – 1.5.8
kuberneteskubernetes1.6.0 – 1.6.13
kuberneteskubernetes>= 1.7.0 < 1.7.141.7.14
kuberneteskubernetes>= 1.8.0 < 1.8.91.8.9
kuberneteskubernetes>= 1.9.0 < 1.9.41.9.4
kuberneteskubernetes>= unspecified < v1.7.14v1.7.14
kuberneteskubernetes>= unspecified < v1.8.9v1.8.9
kuberneteskubernetes>= unspecified < v1.9.4v1.9.4

Detection & IOCsextracted from sources · hover to see the quote

  • Exploit requires a pod spec using subPath volume mounts — detect pod/container specs containing the 'subPath' field in combination with any volume type as a trigger for this vulnerability
  • Exploitation vector involves using emptyDir volumes with subPath to escape volume boundaries — audit pod specs for emptyDir + subPath combinations as a high-confidence exploit pattern
  • Successful exploitation can result in access to the Docker socket on the host node — monitor for unexpected access to the docker socket from within containers as a post-exploitation indicator
  • The vulnerability is exploitable through the Kubernetes API by submitting a pod spec with a subPath field — API server admission controls or webhook validators should inspect and block pod specs containing subPath referencing paths outside the volume root
  • ·Affected Kubernetes versions are 1.3.x, 1.4.x, 1.5.x, 1.6.x and versions prior to 1.7.14, 1.8.9, and 1.9.4 — detection and patching efforts should confirm cluster version is within this range
  • ·The exploit is constrained by the pod's security context — the pod runs with the security constraints of the user but can read files with o=rx mode and appropriate SELinux label, so SELinux enforcement limits but does not fully prevent impact
  • ·The vulnerability scope is local — exploitation requires an attacker to already have access to submit pod specs to the Kubernetes API (e.g., authenticated user or compromised workload)

CVSS provenance

nvdv3.09.6CRITICALCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
nvdv2.05.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:N
osv9.6CRITICAL
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.