Go Vulnerability Database
GO-2022-0629
Directory traversal in sigs.k8s.io/secrets-store-csi-driver
Details
Modifying pod status allows host directory traversal.
Kubernetes Secrets Store CSI Driver allows 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | sigs.k8s.io/secrets-store-csi-driver | From 0.0.15 before 0.0.17 (fixed in 0.0.17) |