CVE-2021-25741
published 2021-09-20CVE-2021-25741: 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…
PriorityP350high8.1CVSS 3.1
AVNACLPRLUINSUCHIHAN
EPSS
6.50%
92.9th percentile
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
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | kubernetes | < kubernetes 1.20.5+really1.20.2-1 (bookworm) | kubernetes 1.20.5+really1.20.2-1 (bookworm) |
| k8s.io | kubernetes | >= 0 < 1.19.15 | 1.19.15 |
| k8s.io | kubernetes | >= 1.20.0 < 1.20.11 | 1.20.11 |
| k8s.io | kubernetes | >= 1.21.0 < 1.21.5 | 1.21.5 |
| k8s.io | kubernetes | >= 1.22.0 < 1.22.2 | 1.22.2 |
| kubernetes | kubernetes | <= 1.19.14 | — |
| kubernetes | kubernetes | >= 0 < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| kubernetes | kubernetes | >= 0 < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| kubernetes | kubernetes | >= 0 < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| kubernetes | kubernetes | >= 0 < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| kubernetes | kubernetes | 1.20.0 – 1.20.10 | — |
| kubernetes | kubernetes | 1.21.0 – 1.21.4 | — |
| kubernetes | kubernetes | 1.22.0 – 1.22.1 | — |
| kubernetes | kubernetes | unspecified – 1.19.14 | — |
| msrc | cm1_kubernetes-1.19.11_1.19.11-7_on_cbl_mariner_1.0 | — | — |
| msrc | cm1_kubernetes-1.19.13_1.19.13-5_on_cbl_mariner_1.0 | — | — |
| msrc | cm1_kubernetes-1.20.7_1.20.7-9_on_cbl_mariner_1.0 | — | — |
| msrc | cm1_kubernetes-1.20.9_1.20.9-7_on_cbl_mariner_1.0 | — | — |
| msrc | cm1_kubernetes-1.21.1_1.21.1-7_on_cbl_mariner_1.0 | — | — |
| msrc | cm1_kubernetes-1.21.2_1.21.2-7_on_cbl_mariner_1.0 | — | — |
| msrc | cm1_kubernetes_1.21.2-7_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
nvdv2.05.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:N
osv8.1HIGH
vendor_debian8.8HIGH
vendor_msrc8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kubernetes: Symlink exchange can allow host filesystem access
vendor_redhat·2021-09-15·CVSS 8.8
CVE-2021-25741 [HIGH] CWE-59 kubernetes: Symlink exchange can allow host filesystem access
kubernetes: Symlink exchange can allow host filesystem access
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.
A flaw was found in kubernetes. An authorized user can exploit this by creating pods with crafted subpath volume mounts to access files and directories outside of the volume, including on the host node's filesystem.
Mitigation: OpenShift Container Platform runs with SELinux in enforcing mode, which reduces the impact of this vulnerability, but does not completely prevent it from being exploited.
Package: openshift4/ose-alibaba-cloud-csi-driver-container-rhel8 (Red Hat OpenShift Container Platform 4) - Affected
Microsoft
Symlink Exchange Can Allow Host Filesystem Access
vendor_msrc·2021-09-14·CVSS 8.8
CVE-2021-25741 [HIGH] CWE-20 Symlink Exchange Can Allow Host Filesystem Access
Symlink Exchange Can Allow Host Filesystem Access
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
kubernetes: kubernetes
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://l
Debian
CVE-2021-25741: kubernetes - A security issue was discovered in Kubernetes where a user may be able to create...
vendor_debian·2021·CVSS 8.8
CVE-2021-25741 [HIGH] CVE-2021-25741: kubernetes - A security issue was discovered in Kubernetes where a user may be able to create...
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.
Scope: local
bookworm: resolved (fixed in 1.20.5+really1.20.2-1)
bullseye: resolved (fixed in 1.20.5+really1.20.2-1)
forky: resolved (fixed in 1.20.5+really1.20.2-1)
sid: resolved (fixed in 1.20.5+really1.20.2-1)
trixie: resolved (fixed in 1.20.5+really1.20.2-1)
OSV
Files or Directories Accessible to External Parties in kubernetes in k8s.io/kubernetes
osv·2024-08-21
CVE-2021-25741 Files or Directories Accessible to External Parties in kubernetes in k8s.io/kubernetes
Files or Directories Accessible to External Parties in kubernetes in k8s.io/kubernetes
Files or Directories Accessible to External Parties in kubernetes in k8s.io/kubernetes
OSV
Files or Directories Accessible to External Parties in kubernetes
osv·2021-11-01
CVE-2021-25741 [HIGH] Files or Directories Accessible to External Parties in kubernetes
Files 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.
GHSA
Files or Directories Accessible to External Parties in kubernetes
ghsa·2021-11-01
CVE-2021-25741 [HIGH] CWE-20 Files or Directories Accessible to External Parties in kubernetes
Files 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.
OSV
CVE-2021-25741: 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
osv·2021-09-20·CVSS 8.1
CVE-2021-25741 [HIGH] CVE-2021-25741: 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
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/kubernetes/kubernetes/issues/104980https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7shttps://security.netapp.com/advisory/ntap-20211008-0006/https://github.com/kubernetes/kubernetes/issues/104980https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7shttps://security.netapp.com/advisory/ntap-20211008-0006/
2021-09-20
Published