Description
Kyverno is a policy engine designed for cloud native platform engineering teams. Prior to versions 1.17.2 and 1.16.4, an unchecked type assertion in the `forEach` mutation handler allows any user with permission to create a `Policy` or `ClusterPolicy` to crash the cluster-wide background controller into a persistent CrashLoopBackOff. The same bug also causes the admission controller to drop connections and block all matching resource operations. The crash loop persists until the policy is deleted. The vulnerability is confined to the legacy engine, and CEL-based policies are unaffected. Versions 1.17.2 and 1.16.4 fix the issue.
Problem types
Product status
>= 1.17.0-rc1, < 1.17.2
References
github.com/...yverno/security/advisories/GHSA-fpjq-c37h-cqcv
github.com/...ommit/76c8fdbe87328722e099e1fd44c3f21c9f7809cb
github.com/...ommit/80e728c2283a0c65e5adb02d8a907106e6ebe7e3