CVE-2024-45041
External-secrets External Secrets Operator vulnerability
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
External Secrets Operator. The exact versions are in the references.
What to do now
- Check your exposureFind out whether External-secrets External Secrets Operator runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/external-secrets/external-secrets/security/advisories/GHSA-qwgc-rr35-h4x9 · Vendor Advisory
- github.com/external-secrets/external-secrets/commit/428a452fd2ad45935312f2c2c0d40bc37ce6e6 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-45041
- github.com/external-secrets/external-secrets/commit/0368b9806f660fa6bc52cbbf3c6ccdb27c58bb
- github.com/external-secrets/external-secrets/blob/main/deploy/charts/external-secrets/temp
- github.com/external-secrets/external-secrets/blob/main/deploy/charts/external-secrets/temp
- pkg.go.dev/vuln/GO-2024-3126
- github.com/advisories/GHSA-qwgc-rr35-h4x9
- nvd.nist.gov/vuln/detail/CVE-2024-45041
- cve.org/CVERecord?id=CVE-2024-45041
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.