A kyverno ClusterPolicy, ie. "disallow-privileged-containers," can be overridden by the creation of a PolicyException in a random namespace.
By design, PolicyExceptions are consumed from any namespace. Administrators may not recognize that this allows users with privileges to non-kyverno namespaces to create exceptions.
Administrators attempting to enforce cluster security through kyverno policies, but that allow less privileged users to create resources
{
"cwe_ids": [
"CWE-285",
"CWE-863"
],
"github_reviewed_at": "2024-10-29T14:44:36Z",
"severity": "HIGH",
"nvd_published_at": "2024-10-29T15:15:10Z",
"github_reviewed": true
}