CVE-2021-25741
HIGH8.1EPSS 33.0%Files or Directories Accessible to External Parties in kubernetes
Published: 11/1/2021Modified: 2/4/2026
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 packages (3)
- Debian/kubernetesfrom 0, < 1.20.5+really1.20.2-1
- Go/k8s.io/kubernetesfrom 0, < 1.19.15
- Go/k8s.io/kubernetesfrom 0, < 1.19.15, >= 1.20.0, < 1.20.11, >= 1.21.0, < 1.21.5, >= 1.22.0, < 1.22.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-25741
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-25741
- PATCHhttps://github.com/kubernetes/kubernetes
- WEBhttps://github.com/bottlerocket-os/bottlerocket/security/advisories/GHSA-f5f7-6478-qm6p
- WEBhttps://github.com/kubernetes/kubernetes/issues/104980
- WEBhttps://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s
- WEBhttps://security.netapp.com/advisory/ntap-20211008-0006