NULL pointer dereference in Kubernetes Container Storage Interface Snapshotter
CVE-2020-8569
Kubernetes CSI snapshot-controller prior to v2.1.3 and v3.0.2 could panic when processing a VolumeSnapshot custom resource when: - The VolumeSnapshot referenced a non-existing PersistentVolumeClaim and the VolumeSnapshot did not reference any VolumeSnapshotClass. - The snapshot-controller crashes, is automatically restarted by Kubernetes, and processes the same VolumeSnapshot custom resource after the restart, entering an endless crashloop. Only the volume snapshot feature is affected by this vulnerability. When exploited, users can’t take snapshots of their volumes or delete the snapshots. All other Kubernetes functionality is not affected.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.022, 82.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Kubernetes Container Storage Interface Snapshotter
- Kubernetes Csi Snapshotter — versions snapshot-controller v3.0, snapshot-controller v2.1
Weakness classification (CWE)
References
- groups.google.com/g/kubernetes-security-announce/c/1EzCr1qUxxU (Mailing List, Third Party Advisory)
- github.com/kubernetes-csi/external-snapshotter/issues/380 (Exploit, Third Party Advisory)