Kyverno denial of service in variable substitution loops
kyverno
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| kyverno kyverno |
|
|
Original description
Kyverno before 1.19.2 contains a denial of service vulnerability in substituteVariablesIfAny that allows low-privileged users to hang the admission webhook via self-referential variable templates. Attackers can create resources whose annotations re-introduce the embedded policy variable, causing unbounded substitution loops that exhaust CPU and memory and block cluster-wide admission.
From the CVE record · VulnCheck