Skip to content
OpenAdvisories
Medium · 4.3 CVE-2020-8569 EUVD-2022-1057GHSA-hwrr-rhmm-vcvf

Kubernetes CSI snapshot-controller DoS

Published Jan 21, 2021 · Updated Sep 17, 2024 · Assigned by kubernetes

Description

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.

Affected products

VendorProductAffectedFixed
Kubernetes CSI Snapshotter snapshot-controller v3.0 – ≤ v3.0.1, snapshot-controller v2.1 – ≤ v2.1.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/kubernetes-csi/external-snapshotter/v2 >= 2.0.0, < 2.1.3 2.1.3 GHSA-hwrr-rhmm-vcvf
Go github.com/kubernetes-csi/external-snapshotter/v3 >= 3.0.0, < 3.0.2 3.0.2 GHSA-hwrr-rhmm-vcvf

References