Vulnerability · Published Sep 9, 2024 · Assigned by GitHub_M

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

High 8.3

In plain English

A high-severity privilege mismanagement in external-secrets from external-secrets. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.3High
Exploit odds (30 days)0.6%top 51.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/external-secrets/external-secrets0.10.2GHSA-qwgc-rr35-h4x9
Gogithub.com/external-secrets/external-secrets0.10.2GO-2024-3126

Affected products (as reported)

VendorProductVersions
external-secrets external-secrets < 0.10.2

Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

References