Kyverno policy bypass in admissionpolicygenerator exception handling
kyverno
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| kyverno kyverno |
|
|
Original description
Kyverno before 1.19.2 contains a policy bypass vulnerability in the admissionpolicygenerator controller, which folds PolicyExceptions into generated ValidatingAdmissionPolicies while ignoring the --enablePolicyException, --exceptionNamespace, and policy kind gates. Users with namespaced create rights on PolicyExceptions can inject negated matchConditions into the generated policies to admit violating resources, bypassing cluster-wide enforcement.
From the CVE record · VulnCheck