Directory traversal in Kubernetes Secrets Store CSI Driver
Date: 2022-02
Affected: go/sigs.k8s.io/secrets-store-csi-driver
Attack vector: path-traversal
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2020-8568
CWE: CWE-20
CWE-22
CWE-24
CVSS: 6.5 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N)

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


Mitigations:

Architectural layers (MAESTRO):