NULL Pointer Dereference Affecting k8s.io-csi/external-snapshotter/pkg/common-controller package, versions >=3.0.0 <3.0.2
Snyk CVSS
Attack Complexity
High
Availability
High
Threat Intelligence
EPSS
0.07% (28th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-K8SIOCSIEXTERNALSNAPSHOTTERPKGCOMMONCONTROLLER-1044079
- published 24 Nov 2020
- disclosed 3 Nov 2020
- credit Unknown
Introduced: 3 Nov 2020
CVE-2020-8569 Open this link in a new tabHow to fix?
Upgrade k8s.io-csi/external-snapshotter/pkg/common-controller
to version 3.0.2 or higher.
Overview
k8s.io-csi/external-snapshotter/pkg/common-controller is a CSI snapshotter that is part of Kubernetes implementation of Container Storage Interface (CSI).
Affected versions of this package are vulnerable to NULL Pointer Dereference. The snapshot-controller 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.