CVE-2021-25741
HIGH 8.1CVSS 3.1Files or Directories Accessible to External Parties in kubernetes
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.
- Published
- 20 Sep 2021
- Last modified
- 10 Sep 2026
- Assigned by
- jordan@liggitt.net
- NVD status
- Modified
- Weakness
- CWE-20CWE-552
- Also known as
- GHSA-f5f7-6478-qm6pGO-2022-0910
- Sources
- NVDJSONOSV GHSA-f5f7-6478-qm6pJSONOSV GO-2022-0910JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | jordan@liggitt.net (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
<= 1.19.14 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.20.0, <= 1.20.10 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.21.0, <= 1.21.4 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.22.0, <= 1.22.1 | |
| OSV | Go | k8s.io/kubernetes | < 1.19.15 | 1.19.15 |
| OSV | Go | k8s.io/kubernetes | >= 1.20.0, < 1.20.11 | 1.20.11 |
| OSV | Go | k8s.io/kubernetes | >= 1.21.0, < 1.21.5 | 1.21.5 |
| OSV | Go | k8s.io/kubernetes | >= 1.22.0, < 1.22.2 | 1.22.2 |
| OSV | Go | k8s.io/kubernetes | < 1.19.15; >= 1.20.0, < 1.20.11; >= 1.21.0, < 1.21.5; >= 1.22.0, < 1.22.2 | 1.19.15, 1.20.11, 1.21.5, 1.22.2 |
References
- https://github.com/kubernetes/kubernetes/issues/104980 · Mitigation, Third Party Advisory, WEB
- https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s · Mailing List, Mitigation, WEB
- https://security.netapp.com/advisory/ntap-20211008-0006/ · Third Party Advisory, WEB
- https://github.com/bottlerocket-os/bottlerocket/security/advisories/GHSA-f5f7-6478-qm6p · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-25741 · ADVISORY
- https://github.com/kubernetes/kubernetes · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 20 Sep 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Nov 2021)