CVE-2021-25741Kubernetes
High 8.1
Follow: this CVE · Kubernetes · Kubernetes We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- 8.0% probability of exploitation in 30 days · percentile 96
- Auth required
- Yes
- Published
- Sep 20, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Kubernetes.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | k8s.io/kubernetes |
< 1.19.15 |
1.19.15 |
go get k8s.io/kubernetes@v1.19.15 |
| Go | k8s.io/kubernetes |
≥ 1.20.0 < 1.20.11 |
1.20.11 |
go get k8s.io/kubernetes@v1.20.11 |
| Go | k8s.io/kubernetes |
≥ 1.21.0 < 1.21.5 |
1.21.5 |
go get k8s.io/kubernetes@v1.21.5 |
| Go | k8s.io/kubernetes |
≥ 1.22.0 < 1.22.2 |
1.22.2 |
go get k8s.io/kubernetes@v1.22.2 |
| Go | k8s.io/kubernetes |
< 1.19.15 |
1.19.15 |
go get k8s.io/kubernetes@v1.19.15 |
| Go | k8s.io/kubernetes |
≥ 1.20.0 < 1.20.11 |
1.20.11 |
go get k8s.io/kubernetes@v1.20.11 |
| Go | k8s.io/kubernetes |
≥ 1.21.0 < 1.21.5 |
1.21.5 |
go get k8s.io/kubernetes@v1.21.5 |
| Go | k8s.io/kubernetes |
≥ 1.22.0 < 1.22.2 |
1.22.2 |
go get k8s.io/kubernetes@v1.22.2 |
Per OSV / GitHub Advisories (GHSA-f5f7-6478-qm6p, GO-2022-0910). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kubernetes | kubernetes | ≤ 1.19.14 |
| kubernetes | kubernetes | ≥ 1.20.0 ≤ 1.20.10 |
| kubernetes | kubernetes | ≥ 1.21.0 ≤ 1.21.4 |
| kubernetes | kubernetes | ≥ 1.22.0 ≤ 1.22.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Third Party Advisory
- groups.google.com Mailing List Mitigation
- security.netapp.com Third Party Advisory