Vulnerabilities in pkg:golang/github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp
PACKAGECVE-2020-8567 is a LOW (CVSS 4.9) kubernetes secrets store csi driver vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Github.com/hashicorp/vault csi provider libraries in the Go ecosystem. The issue involves kubernetes secrets store csi driver plugins arbitrary file write. Remediation is available by upgrading affected packages to version 0.0.6, 0.0.10, 0.2.0.
pkg:golang/github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp
Vulnerability advisories affecting package pkg:golang/github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2v35-wj4r-rcmv | CVE-2020-8567 | LOW | Kubernetes Secrets Store CSI Driver plugins arbitrary file write |
CVE-2020-8567 at a Glance
Security Impact
CVSS: 4.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L).
How to Fix CVE-2020-8567
To remediate this vulnerability, upgrade all affected Github.com/hashicorp/vault csi provider 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/hashicorp/vault-csi-provider to 0.0.6
Upgrade github.com/Azure/secrets-store-csi-driver-provider-azure to 0.0.10
Upgrade github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp to 0.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/hashicorp/vault-csi-provider
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-8567, inspect your project dependencies for Github.com/hashicorp/vault csi provider:
inspect dependencies for github.com/hashicorp/vault-csi-provider
Analyze the terminal output to locate any version of Github.com/hashicorp/vault csi provider in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.6), 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Github.com/hashicorp/vault csi provider, 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-8567 Affected Github.com/hashicorp/vault csi provider Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hashicorp/vault-csi-provider
|
Go |
< 0.0.6
|
0.0.6
|
|
github.com/Azure/secrets-store-csi-driver-provider-azure
|
Go |
< 0.0.10
|
0.0.10
|
|
github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp
|
Go |
< 0.2.0
|
0.2.0
|
References
Frequently Asked Questions
What is CVE-2020-8567?
Which Github.com/hashicorp/vault csi provider versions are affected?
What version fixes CVE-2020-8567?
Is github.com/hashicorp/vault-csi-provider affected?
Is github.com/Azure/secrets-store-csi-driver-provider-azure affected?
What is the CVSS score of CVE-2020-8567?
What CWE is associated with CVE-2020-8567?
How can I check Go dependencies for CVE-2020-8567?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2v35-wj4r-rcmv",
"modified" : "2024-11-18T16:26:25Z",
"published" : "2022-05-24T17:40:02Z",
"aliases" : [ "CVE-2020-8567" ],
"summary" : "Kubernetes Secrets Store CSI Driver plugins arbitrary file write",
"details" : "Kubernetes Secrets Store CSI Driver Vault Plugin prior to v0.0.6, Azure Plugin prior to v0.0.10, and GCP Plugin prior to v0.2.0 allow an attacker who can create specially-crafted SecretProviderClass objects to write to arbitrary file paths on the host filesystem, including `/var/lib/kubelet/pods`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/vault-csi-provider"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/Azure/secrets-store-csi-driver-provider-azure"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8567"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes-sigs/secrets-store-csi-driver/issues/384"
}, {
"type" : "WEB",
"url" : "https://github.com/Azure/secrets-store-csi-driver-provider-azure/pull/298"
}, {
"type" : "WEB",
"url" : "https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp/pull/74"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/secrets-store-csi-driver-provider-vault/pull/50"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-secrets-store-csi-driver/c/BI2qisiNXHY"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-24T20:07:30Z",
"nvd_published_at" : "2021-01-21T17:15:00Z"
}
}