External-secrets
External Secrets Operator: label enforcement bypass in webhook generator enables secret exfiltration
External Secrets Operator reads information from a third-party service and automatically injects the values as Kubernetes Secrets. Starting in version 0.10.0 and prior to version 1.3.2, a bug in the `webhook` generator initialization order incorrectly cleared the label-enforcement flag (`EnforceLabels`) after it was set, resulting in the provider-side check for `external-secrets.io/type=webhook` being skipped (and the operation to succeed while it should have failed with `secret does not contain needed label 'external-secrets.io/type: webhook'. Update secret label to use it with webhook`. Version 1.3.2 contains a patch.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.10.0, < 1.3.2
Fixed in 1.3.2
Mitigation
Upgrade external-secrets to 1.3.2 or later.
References
- Vendor advisory github.com/external-secrets/external-secrets/s…
- Patch github.com/external-secrets/external-secrets/p…
- Patch github.com/external-secrets/external-secrets/c…
1 more
- Release notes github.com/external-secrets/external-secrets/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.