title: Kubernetes CSI volume snapshot, cloning and resizing features can result in unauthorized volume data access or mutation
description: Improper input validation in Kubernetes CSI sidecar containers for external-provisioner (<v0.4.3, <v1.0.2, v1.1, <v1.2.2, <v1.3.1), external-snapshotter (<v0.4.2, <v1.0.2, v1.1, <1.2.2), and external-resizer (v0.1, v0.2) could result in unauthorized PersistentVolume data access or volume mutation during snapshot, restore from snapshot, cloning and resizing operations.
problem types: CWE-20 Improper Input Validation
affected:
{
product: kubernetes-csi external-provisioner
vendor: Kubernetes
versions:
status: affected, version: prior to 1.0.2
status: affected, version: 1.1
status: affected, version: prior to 1.2.2
status: affected, version: prior to 1.3.1
lessThan: prior to 0.4.3, status: affected, version: v1.14, versionType: custom
}
{
product: kubernetes-csi external-snapshotter
vendor: Kubernetes
versions:
status: affected, version: prior to 0.4.2
status: affected, version: prior to 1.0.2
status: affected, version: 1.1
status: affected, version: prior to 1.2.2
}
{
product: kubernetes-csi external-resizer
vendor: Kubernetes
versions:
status: affected, version: 0.1
status: affected, version: 0.2
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 4.8
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: LOW
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N
version: 3.1
]
workarounds: Kubernetes feature gates can be disabled and RBAC permissions revoked from impacted CSI drivers, following instructions in https://github.com/kubernetes/kubernetes/issues/85233