{"id":"CVE-2023-34091","aliases":["CVE-2023-34091","GHSA-hq4m-4948-64cc","GO-2023-1819"],"related":[],"kind":"vulnerability","state":"published","title":"Kyverno resource with a deletionTimestamp may allow policy circumvention","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIn 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`. \n\nThis 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. \n\nHowever, this could potentially result in allowing a malicious user to leverage the [Kubernetes finalizers feature](https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/) 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. \n\nNote 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.\n\n\n### Patches\nThis is resolved in Kyverno 1.10.0.\n\n### Workarounds\nThere is no known workaround.\n\n### References\n_Are there any links users can visit to find out more?_","format":"markdown","source":"ghsa"},{"lang":"en","text":"Kyverno resource with a deletionTimestamp may allow policy circumvention in github.com/kyverno/kyverno","format":"markdown","source":"go"}],"published":"2023-06-01T16:24:53.920Z","modified":"2026-08-07T08:12:31.320Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-285"],"affected":[{"ranges":[{"version":"< 1.10.0","status":"affected"}],"vendor":"kyverno","product":"kyverno","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.10.0"}],"ecosystem":"Go","package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.10.0"}],"ecosystem":"Go","package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"go"},{"ranges":[{"status":"affected","fixed":"1.10.0"}],"vendor":"nirmata","product":"kyverno","cpe":"cpe:2.3:a:nirmata:kyverno:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-hq4m-4948-64cc","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/kyverno/kyverno/releases/tag/v1.10.0","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34091","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/kyverno/kyverno","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-08T21:32:38.963Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-34091","url":"https://www.cve.org/CVERecord?id=CVE-2023-34091","licence":"CVE Terms of Use","modified":"2025-01-08T21:32:51.451Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hq4m-4948-64cc","url":"https://github.com/advisories/GHSA-hq4m-4948-64cc","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:31.320Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1819","url":"https://pkg.go.dev/vuln/GO-2023-1819","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:24.202Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-34091","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34091","licence":"Public domain","modified":"2026-06-17T06:02:52.443Z"}],"updatedAt":"2026-11-25T22:58:24.526Z","epss":{"score":0.00497,"percentile":0.44184,"date":"2026-12-01T12:00:22.000Z"}}