CVE-2024-45041 External Secrets Operator vulnerable to privilege escalation
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Kubernetes
Description
External Secrets Operator is a Kubernetes operator that integrates external secret management systems. The external-secrets has a deployment called default-external-secrets-cert-controller, which is bound with a same-name ClusterRole. This ClusterRole has "get/list" verbs of secrets resources. It also has path/update verb of validatingwebhookconfigurations resources. This can be used to abuse the SA token of the deployment to retrieve or get ALL secrets in the whole cluster, capture and log all data from requests attempting to update Secrets, or make a webhook deny all Pod create and update requests. This vulnerability is fixed in 0.10.2.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| external-secrets | < 0.10.2; = < 0.10.2 | 0.10.2 | Fixed |
| external-secrets(Go) | < 0.10.2 | 0.10.2 | Fixed |
| external-secrets external secrets operator | < 0.10.2 | 0.10.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| external-secrets(Go) | < 0.10.2 | 0.10.2 |
| external-secrets | = < 0.10.2 | No fix listed |
| external-secrets | < 0.10.2 | 0.10.2 |
| external-secrets external secrets operator | < 0.10.2 | 0.10.2 |
References
- https://github.com/external-secrets/external-secrets/security/advisories/GHSA-qwgc-rr35-h4x9 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- https://github.com/external-secrets/external-secrets/commit/428a452fd2ad45935312f2c2c0d40bc37ce6e67c patch
- github.com product
- github.com
- pkg.go.dev
- github.com