Loading HuntDB...

GHSA-hwrr-rhmm-vcvf

GitHub Security Advisory

NULL Pointer Dereference in Kubernetes CSI snapshot-controller

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

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 Packages

Go github.com/kubernetes-csi/external-snapshotter/v2
Affected versions: 2.0.0 (fixed in 2.1.3)
Go github.com/kubernetes-csi/external-snapshotter/v3
Affected versions: 3.0.0 (fixed in 3.0.2)

Related CVEs

Key Information

GHSA ID
GHSA-hwrr-rhmm-vcvf
Published
February 15, 2022 1:57 AM
Last Modified
May 12, 2021 9:41 PM
CVSS Score
5.0 /10
Primary Ecosystem
Go
Primary Package
github.com/kubernetes-csi/external-snapshotter/v2
GitHub Reviewed
✓ Yes

Dataset

Last updated: November 25, 2025 6:29 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.