GHSA-hwrr-rhmm-vcvf

Suggest an improvement
Source
https://github.com/advisories/GHSA-hwrr-rhmm-vcvf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-hwrr-rhmm-vcvf/GHSA-hwrr-rhmm-vcvf.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-hwrr-rhmm-vcvf
Aliases
Published
2022-02-15T01:57:18Z
Modified
2023-11-01T04:53:45.872134Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-476"
    ],
    "github_reviewed": true,
    "nvd_published_at": null,
    "severity": "MODERATE",
    "github_reviewed_at": "2021-05-12T21:41:14Z"
}
References

Affected packages

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

Package

Name
github.com/kubernetes-csi/external-snapshotter/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/kubernetes-csi/external-snapshotter/v2

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.1.3

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

Package

Name
github.com/kubernetes-csi/external-snapshotter/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/kubernetes-csi/external-snapshotter/v3

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.0.2