Advisory

GHSA-hwrr-rhmm-vcvf

Also known as: CVE-2020-8569

Summary

NULL Pointer Dereference in Kubernetes CSI snapshot-controller

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-02-15 01:57 UTC
Modified
2023-11-08 04:04 UTC

Affected packages and fixes

github.com/kubernetes-csi/external-snapshotter/v2

Go · All systems

Affected

  • introduced 2.0.0, fixed 2.1.3 (semver)

Fixed versions

2.1.3

Fix

  • Fixed version 2.1.3
    go get github.com/kubernetes-csi/external-snapshotter/[email protected]

github.com/kubernetes-csi/external-snapshotter/v3

Go · All systems

Affected

  • introduced 3.0.0, fixed 3.0.2 (semver)

Fixed versions

3.0.2

Fix

  • Fixed version 3.0.2
    go get github.com/kubernetes-csi/external-snapshotter/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences