Skip to main content
← All vulnerabilities
CVE-2021-25741GO-2022-0910GHSA-F5F7-6478-QM6P

Symlink Exchange Can Allow Host Filesystem Access

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.19.15, 1.20.11, 1.21.5, 1.22.2
3 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

A security issue was discovered in Kubernetes where a user may be able to create a container with subpath volume mounts to access files & directories outside of the volume, including on the host filesystem.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Kubernetes Kubernetes

    through 1.19.14; through 1.20.10; through 1.21.4; through 1.22.1

  • k8s.io/kubernetesGo

    fixed in 1.19.15; From 1.20.0 · fixed in 1.20.11; From 1.21.0 · fixed in 1.21.5; From 1.22.0 · fixed in 1.22.2

  • k8s.io/kubernetesGo

    fixed in 1.19.15

  • k8s.io/kubernetesGo

    From 1.20.0 · fixed in 1.20.11

  • k8s.io/kubernetesGo

    From 1.21.0 · fixed in 1.21.5

  • k8s.io/kubernetesGo

    From 1.22.0 · fixed in 1.22.2

References 6

groups.google.com

GitHub · kubernetes/kubernetes

security.netapp.com

GitHub · Betep0k/CVE-2021-25741

GitHub · Glutenfree69/ZigRaceExploit

GitHub · cdxiaodong/CVE-2021-25741