Lucene search

K
githubGitHub Advisory DatabaseGHSA-HWRR-RHMM-VCVF
HistoryFeb 15, 2022 - 1:57 a.m.

NULL Pointer Dereference in Kubernetes CSI snapshot-controller

2022-02-1501:57:18
CWE-476
GitHub Advisory Database
github.com
14
kubernetes
csi
snapshot-controller
vulnerability
volumesnapshot
persistentvolumeclaim
volumesnapshotclass
crashloop
exploit
snapshots

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:N/I:N/A:P

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

29.2%

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 configurations

Vulners
Node
kubernetesexternal-snapshotterRange<3.0.2
OR
kubernetesexternal-snapshotterRange<2.1.3
VendorProductVersionCPE
kubernetesexternal-snapshotter*cpe:2.3:a:kubernetes:external-snapshotter:*:*:*:*:*:*:*:*

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:N/I:N/A:P

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

29.2%