{"id":"CVE-2023-34091","published":"2023-06-01T16:24:53Z","modified":"2025-01-08T21:32:51Z","title":"Kyverno resource with a deletionTimestamp may allow policy circumvention","vendor":"kyverno","product":"kyverno","tier":"tail","description":{"text":"Kyverno is a policy engine designed for Kubernetes. In versions of Kyverno prior to 1.10.0, resources which have the `deletionTimestamp` field defined can bypass validate, generate, or mutate-existing policies, even in cases where the `validationFailureAction` field is set to `Enforce`. This situation occurs as resources pending deletion were being consciously exempted by Kyverno, as a way to reduce processing load as policies are typically not applied to objects which are being deleted. However, this could potentially result in allowing a malicious user to leverage the Kubernetes finalizers feature by setting a finalizer which causes the Kubernetes API server to set the `deletionTimestamp` and then not completing the delete operation as a way to explicitly to bypass a Kyverno policy. Note that this is not applicable to Kubernetes Pods but, as an example, a Kubernetes Service resource can be manipulated using an indefinite finalizer to bypass policies. This is resolved in Kyverno 1.10.0. There is no known workaround.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00497,"percentile":0.4351,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-hq4m-4948-64cc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kyverno/kyverno/releases/tag/v1.10.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":8.7},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"kyverno","affectedVersions":[{"vendor":"kyverno","product":"kyverno","versions":["< 1.10.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-08T21:32:38.963338Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/kyverno/kyverno","vulnerableRanges":["<1.10.0"],"patched":["1.10.0"],"from":["GHSA-hq4m-4948-64cc","GO-2023-1819"],"provenance":"source"}],"summary":{"text":"Kyverno, the Kubernetes policy engine, prior to version 1.10.0 exempts resources that have a deletionTimestamp set from its validate, generate, and mutate-existing policies, even when validationFailureAction is Enforce. An attacker with low-privilege network access to the Kubernetes API can exploit this by adding a finalizer that keeps the resource from completing deletion, which lets it evade Kyverno policies (for example, a Service was given as an example, while Pods are not affected).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:12Z"},"euvd":{"id":"EUVD-2023-1825","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-47633","published":"2022-12-23","fixed":"1.8.5","kev":false},{"cve":"CVE-2023-33191","published":"2023-05-30","fixed":"1.9.4","kev":false},{"cve":"CVE-2023-54356","published":"2026-09-01","fixed":"1.9.5","kev":false},{"cve":"CVE-2023-34091","published":"2023-06-01","fixed":"1.10.0","kev":false},{"cve":"CVE-2023-47630","published":"2023-11-14","fixed":"1.10.5","kev":false,"link":{"from":"CVE-2023-34091","to":"CVE-2023-47630","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/kyverno/kyverno","fromFixed":"1.10.0","toFixed":"1.10.5","daysApart":166}]}},{"cve":"CVE-2024-48921","published":"2024-10-29","fixed":"1.13.0","kev":false},{"cve":"CVE-2026-84200","published":"2026-09-01","fixed":"1.13.0","kev":false}],"package":"Go:github.com/kyverno/kyverno"}}