PT-2023-24664 · Unknown+1 · Kubernetes Service+3
Bburky
·
Published
2023-06-01
·
Updated
2026-04-16
·
CVE-2023-34091
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Kyverno versions prior to 1.10.0
Description
The issue allows resources with the
deletionTimestamp field defined to bypass validate, generate, or mutate-existing policies, even when the validationFailureAction field is set to Enforce. This occurs because resources pending deletion were exempted by Kyverno to reduce processing load. A malicious user could leverage the Kubernetes finalizers feature by setting a finalizer, causing the Kubernetes API server to set the deletionTimestamp, and then not completing the delete operation to bypass a Kyverno policy. For example, a Kubernetes Service resource can be manipulated using an indefinite finalizer to bypass policies. This issue is not applicable to Kubernetes Pods.Recommendations
For Kyverno versions prior to 1.10.0, update to Kyverno 1.10.0 to resolve the issue.
As a temporary workaround, consider restricting the use of the Kubernetes finalizers feature to minimize the risk of exploitation.
Avoid using indefinite finalizers for resources, such as Kubernetes Service resources, until the issue is resolved.
Note that there is no known workaround for this issue.
Exploit
Fix
Improper Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Kubernetes
Kubernetes Pods
Kubernetes Service
Kyverno