8.8high
Symlink Exchange Can Allow Host Filesystem Access
- Severity
- 8.8high CVSS:3.1 by kubernetes
- Exploit likelihood
- 7.96% (higher than 94% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- kubernetes
- Also known as
- GHSA-f5f7-6478-qm6pGO-2022-0910
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Kubernetes Kubernetes | from unspecified up to 1.19.14, from unspecified up to 1.20.10, from unspecified up to 1.21.4, from unspecified up to 1.22.1, up to 1.19.14, from 1.20.0 up to 1.20.10, from 1.21.0 up to 1.21.4, from 1.22.0 up to 1.22.1 | CVE List, NVD |
| k8s.io/kubernetes (Go) | before 1.19.15, from 1.20.0 before 1.20.11, from 1.21.0 before 1.21.5, from 1.22.0 before 1.22.2 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| kubernetes | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 5.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Classification
What each source says
CVE List
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.
Go Vulnerability Database
Files or Directories Accessible to External Parties in kubernetes in k8s.io/kubernetes
NVD (es)
Se ha detectado un problema de seguridad en Kubernetes en el que un usuario puede ser capaz de crear un contenedor con montajes de volumen de sub-ruta para acceder a archivos y directorios fuera del volumen, incluso en el sistema de archivos del host
References
| https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s | mailing-list, mitigation, web | |
| https://github.com/kubernetes/kubernetes/issues/104980 | mitigation, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20211008-0006/ | third-party-advisory | |
| https://github.com/bottlerocket-os/bottlerocket/security/advisories/GHSA-f5f7-6478-qm6p | advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-25741 | advisory | |
| https://github.com/kubernetes/kubernetes | package | |
| https://security.netapp.com/advisory/ntap-20211008-0006 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-25741 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f5f7-6478-qm6p changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0910 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2021-25741 changed 2026-06-17 | Public domain |