Vulnerabilities in pkg:golang/github.com/kubernetes-csi/external-snapshotter/v3
PACKAGECVE-2020-8569 is a MODERATE (CVSS 6.5) null pointer dereference vulnerability (CWE-476: NULL Pointer Dereference) affecting Github.com/kubernetes csi/external snapshotter/v2 libraries in the Go ecosystem. The issue involves null pointer dereference in kubernetes csi snapshot-controller. Remediation is available by upgrading affected packages to version 2.1.3, 3.0.2.
pkg:golang/github.com/kubernetes-csi/external-snapshotter/v3
Vulnerability advisories affecting package pkg:golang/github.com/kubernetes-csi/external-snapshotter/v3. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-hwrr-rhmm-vcvf | CVE-2020-8569 | MODERATE | NULL Pointer Dereference in Kubernetes CSI snapshot-controller |
CVE-2020-8569 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2020-8569
To remediate this vulnerability, upgrade all affected Github.com/kubernetes csi/external snapshotter/v2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/kubernetes-csi/external-snapshotter/v2 to 2.1.3
Upgrade github.com/kubernetes-csi/external-snapshotter/v3 to 3.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/kubernetes-csi/external-snapshotter/v2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-8569, inspect your project dependencies for Github.com/kubernetes csi/external snapshotter/v2:
inspect dependencies for github.com/kubernetes-csi/external-snapshotter/v2
Analyze the terminal output to locate any version of Github.com/kubernetes csi/external snapshotter/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-476: NULL Pointer Dereference, where the product dereferences a pointer that it expects to be valid but is null. In Github.com/kubernetes csi/external snapshotter/v2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-8569 Affected Github.com/kubernetes csi/external snapshotter/v2 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kubernetes-csi/external-snapshotter/v2
|
Go |
≥ 2.0.0
< 2.1.3
|
2.1.3
|
|
github.com/kubernetes-csi/external-snapshotter/v3
|
Go |
≥ 3.0.0
< 3.0.2
|
3.0.2
|
References
Frequently Asked Questions
What is CVE-2020-8569?
Which Github.com/kubernetes csi/external snapshotter/v2 versions are affected?
What version fixes CVE-2020-8569?
Is github.com/kubernetes-csi/external-snapshotter/v2 affected?
Is github.com/kubernetes-csi/external-snapshotter/v3 affected?
What is the CVSS score of CVE-2020-8569?
What CWE is associated with CVE-2020-8569?
How can I check Go dependencies for CVE-2020-8569?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hwrr-rhmm-vcvf",
"modified" : "2021-05-12T21:41:14Z",
"published" : "2022-02-15T01:57:18Z",
"aliases" : [ "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:\n\n- The VolumeSnapshot referenced a non-existing PersistentVolumeClaim and the VolumeSnapshot did not reference any VolumeSnapshotClass.\n- The snapshot-controller crashes, is automatically restarted by Kubernetes, and processes the same VolumeSnapshot custom resource after the restart, entering an endless crashloop.\n\nOnly 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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kubernetes-csi/external-snapshotter/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.1.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kubernetes-csi/external-snapshotter/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8569"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes-csi/external-snapshotter/issues/380"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-security-announce/c/1EzCr1qUxxU"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-476" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-12T21:41:14Z",
"nvd_published_at" : null
}
}