GitHub Advisoryadvisory · Go

GHSA-hwrr-rhmm-vcvf NULL Pointer Dereference in Kubernetes CSI snapshot-controller

MEDIUM Published 2022-02-15 Modified 2021-05-12 Official page ↗
Aliases
CVE-2020-8569
Ecosystem
Go
Packages
github.com/kubernetes-csi/external-snapshotter/v2, github.com/kubernetes-csi/external-snapshotter/v3
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476
Reviewed
2021-05-12

Affected packages

• Go github.com/kubernetes-csi/external-snapshotter/v2: >= 2.0.0, < 2.1.3 → fixed in 2.1.3 • Go github.com/kubernetes-csi/external-snapshotter/v3: >= 3.0.0, < 3.0.2 → fixed in 3.0.2

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References