CVE-2020-8569 Kubernetes CSI snapshot-controller DoS

Medium 4.3 Published Updated

Attackers can cause a crashloop in the Kubernetes CSI snapshot-controller by submitting specific VolumeSnapshot resources, preventing volume snapshot operations.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-8569?

CVE-2020-8569 is a medium-severity vulnerability in Kubernetes CSI Snapshotter, published on 21 Jan 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2020-8569?

4 open source packages ship an affected version, including github.com/kubernetes-csi/external-snapshotter/v2 and github.com/kubernetes-csi/external-snapshotter/v3. It affects 1 product.

PackageAffectedFixed in
github.com/kubernetes-csi/external-snapshotter/v2 GoFrom 2.0.02.1.3
github.com/kubernetes-csi/external-snapshotter/v2 GoFrom 2.0.02.1.3
github.com/kubernetes-csi/external-snapshotter/v3 GoFrom 3.0.03.0.2
github.com/kubernetes-csi/external-snapshotter/v3 GoFrom 3.0.03.0.2

Products include Kubernetes Container Storage Interface Snapshotter.

How do I fix CVE-2020-8569?

Upgrade github.com/kubernetes-csi/external-snapshotter/v2 to 2.1.3 or later.

Is CVE-2020-8569 being exploited?

There is no known exploitation of CVE-2020-8569 in the wild and no public exploit code.

Sources

Also known as GHSA-hwrr-rhmm-vcvf.

Is CVE-2020-8569 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free