kubernetes-sigs/secrets-store-csi-driver · Security
Directory traversal in Kubernetes Secrets Store CSI Driver
- GHSA ID
- GHSA-5cgx-vhfp-6cf9
- CVE ID
- CVE-2020-8568
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Description
Kubernetes Secrets Store CSI Driver versions v0.0.15 and v0.0.16 allow an attacker who can modify a SecretProviderClassPodStatus/Status resource the ability to write content to the host filesystem and sync file contents to Kubernetes Secrets. This includes paths under var/lib/kubelet/pods that contain other Kubernetes Secrets.
Specific Go Packages Affected
sigs.k8s.io/secrets-store-csi-driver/controllers sigs.k8s.io/secrets-store-csi-driver/pkg/rotation sigs.k8s.io/secrets-store-csi-driver/pkg/secrets-store
CWEs
- CWE-20 · Improper Input Validation
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-24 · Path Traversal: '../filedir'
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-8568 ↗
- https://github.com/kubernetes-sigs/secrets-store-csi-driver/issues/378 ↗
- https://github.com/kubernetes-sigs/secrets-store-csi-driver/pull/371 ↗
- https://groups.google.com/g/kubernetes-secrets-store-csi-driver/c/Cb9cvymTzl4 ↗
- https://github.com/kubernetes-sigs/secrets-store-csi-driver/commit/c2cbb19e2eef16638fa0523383788a4bc22231fd ↗
- https://pkg.go.dev/vuln/GO-2022-0629 ↗
- https://github.com/advisories/GHSA-5cgx-vhfp-6cf9 ↗