What’s Vulnerable › Vulnerabilities

CVE-2024-45041: External Secrets Operator vulnerable to privilege escalation

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.

Affected products

How to fix

Upgrade to a fixed version: external-secrets 0.10.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-45041 or the next vulnerability affects your stack