Description (CNA)
Kyverno versions v1.9.0 through v1.12.7 contain a policy exception handling flaw. When a policy in enforce mode is combined with two PolicyExceptions, the less restrictive exception takes precedence, allowing an attacker to bypass the policy by crafting a resource name that matches the second exception's name pattern (e.g., '*ingress*'). This can be used to circumvent policies such as one blocking hostPath volumes. Fixed in v1.13.0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| kyverno / kyverno | affected 0 before 1.13.0; unaffected 1.13.0 |
CWE
CWE-284
References
- https://github.com/kyverno/kyverno/security/advisories/GHSA-gg4x-fgg2-h9w9
- https://www.vulncheck.com/advisories/kyverno-before-1.13.0-policy-bypass-via-multiple-exceptions
ADP enrichment
No English description supplied.