Bank-vaults vault-secrets-webhook
vault-addr annotation SSRF -- webhook makes outbound HTTP call to attacker URL during admission; vault-serviceaccount enables cluster-wide SA token theft via TokenRequest API
vault-secrets-webhook is a Kubernetes mutating webhook that makes direct secret injection into Pods possible. Prior to 1.23.1, parseVaultConfig() in pkg/webhook/config.go accepts the vault.security.banzaicloud.io/vault-addr annotation, MutateConfigMap and MutateSecret call newVaultClient in pkg/webhook/webhook.go, and vault.security.banzaicloud.io/vault-serviceaccount can cause a ServiceAccount JWT to be sent to an attacker-controlled Vault address. This issue is fixed in version 1.23.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.23.1
Fixed in 1.23.1
Mitigation
Upgrade vault-secrets-webhook to 1.23.1 or later.
References
- Vendor advisory github.com/bank-vaults/vault-secrets-webhook/s…
- Patch github.com/bank-vaults/vault-secrets-webhook/c…
- Release notes github.com/bank-vaults/vault-secrets-webhook/r…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.