CSI Driver for NFS path traversal via subDir may delete unintended directories on the NFS server
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Kubernetes | CSI Driver for NFS | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Kubernetes | Csi Driver For Nfs |
|
Vendor Solution
Upgrade the CSI Driver for NFS to version 4.13.1 or later. As mitigations, restrict PersistentVolume creation privileges to trusted administrators and review NFS exports to ensure only intended directories are writable by the driver.
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-2mjq-54qg-7w6j | NFS CSI driver for Kubernetes is Vulnerable to Path Traversal through Volume Identifier Parameter |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.747% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Kubernetes
Kubernetes csi Driver For Nfs |
|
| Vendors & Products |
Kubernetes
Kubernetes csi Driver For Nfs |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A vulnerability was discovered in the Kubernetes CSI Driver for NFS where the subDir parameter in volume identifiers was insufficiently validated. Attackers with the ability to create PersistentVolumes referencing the NFS CSI driver could craft volume identifiers containing path traversal sequences (../). During volume deletion or cleanup operations, the driver could operate on unintended directories outside the intended managed path within the NFS export. This may lead to deletion or modification of directories on the NFS server. | |
| Title | CSI Driver for NFS path traversal via subDir may delete unintended directories on the NFS server | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|