Kyverno cross-namespace resource overwrite in CEL mutation targets
kyverno
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| kyverno kyverno |
|
|
Original description
Kyverno from 1.17.0 before 1.19.2 contains an authorization bypass vulnerability that allows namespace tenants to overwrite resources in other namespaces via NamespacedMutatingPolicy mutate-existing targetMatchConstraints.expression. Attackers can return a CEL map literal fabricating a target with an attacker-chosen metadata.namespace, causing the privileged background controller to overwrite Secrets, Deployments, or policies cluster-wide.
From the CVE record · VulnCheck