GitHub Advisory Database
GHSA-f5f7-6478-qm6p
Files or Directories Accessible to External Parties in kubernetes
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | k8s.io/kubernetes | All versions before 1.19.15 (fixed in 1.19.15) |
| Go | k8s.io/kubernetes | From 1.20.0 before 1.20.11 (fixed in 1.20.11) |
| Go | k8s.io/kubernetes | From 1.21.0 before 1.21.5 (fixed in 1.21.5) |
| Go | k8s.io/kubernetes | From 1.22.0 before 1.22.2 (fixed in 1.22.2) |
References
- https://github.com/bottlerocket-os/bottlerocket/security/advisories/GHSA-f5f7-6478-qm6p
- https://nvd.nist.gov/vuln/detail/CVE-2021-25741
- https://github.com/kubernetes/kubernetes/issues/104980
- https://github.com/kubernetes/kubernetes
- https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s
- https://security.netapp.com/advisory/ntap-20211008-0006