{"id":"CVE-2023-34091","aliases":["GHSA-hq4m-4948-64cc","GO-2023-1819"],"summary":"Kyverno resource with a deletionTimestamp may allow policy circumvention","published_at":"2023-06-01T16:24:53.92Z","modified_at":"2026-08-07T08:12:31.320239Z","products":[{"slug":"kyverno","name":"Kyverno","category":"kubernetes-container"}],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.004970000125467777,"percentile":0.43369999527931213,"date":"2026-11-19T00:00:00Z"},"priority":7.5,"record_count":4,"vendors":["GitHub","Go"],"details":"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.","affected_stack":[{"ecosystem":"CVE","package":"kyverno/kyverno","versions":["< 1.10.0"],"provider":"cvelistv5","source":"CVE-2023-34091","relation":"self"},{"ecosystem":"Go","package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.0"}]}],"fixed":["1.10.0"],"provider":"osv","source":"GHSA-hq4m-4948-64cc","relation":"self"},{"ecosystem":"Go","package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.0"}]}],"fixed":["1.10.0"],"provider":"osv","source":"GO-2023-1819","relation":"self"}],"affected_other":[{"ecosystem":"NVD","package":"nirmata:kyverno","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0"}]}],"fixed":["1.10.0"],"provider":"nvd","source":"CVE-2023-34091","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2023-34091","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-34091","license":"CC-BY-4.0","published_at":"2023-06-01T16:24:53.92Z","modified_at":"2025-01-08T21:32:51.451Z","summary":"Kyverno resource with a deletionTimestamp may allow policy circumvention","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"CVE-2023-34091"}],"affected":[{"ecosystem":"CVE","package":"kyverno/kyverno","versions":["< 1.10.0"],"provider":"cvelistv5","source":"CVE-2023-34091","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-hq4m-4948-64cc"},{"type":"WEB","url":"https://github.com/kyverno/kyverno/releases/tag/v1.10.0"}]},{"provider":"nvd","source_id":"CVE-2023-34091","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34091","severity":[],"affected":[{"ecosystem":"NVD","package":"nirmata:kyverno","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0"}]}],"fixed":["1.10.0"],"provider":"nvd","source":"CVE-2023-34091","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-hq4m-4948-64cc","relation":"self","url":"https://osv.dev/vulnerability/GHSA-hq4m-4948-64cc","license":"CC-BY-4.0","published_at":"2023-06-05T17:10:13Z","modified_at":"2026-08-07T08:12:31.320239Z","summary":"Kyverno resource with a deletionTimestamp may allow policy circumvention","details":"### 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?_","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"GHSA-hq4m-4948-64cc"}],"affected":[{"ecosystem":"Go","package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.0"}]}],"fixed":["1.10.0"],"provider":"osv","source":"GHSA-hq4m-4948-64cc","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-hq4m-4948-64cc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34091"},{"type":"PACKAGE","url":"https://github.com/kyverno/kyverno"},{"type":"WEB","url":"https://github.com/kyverno/kyverno/releases/tag/v1.10.0"}]},{"provider":"osv","source_id":"GO-2023-1819","relation":"self","url":"https://osv.dev/vulnerability/GO-2023-1819","license":"CC-BY-4.0","published_at":"2024-08-20T20:31:32Z","modified_at":"2026-08-07T08:12:24.202437Z","summary":"Kyverno resource with a deletionTimestamp may allow policy circumvention in github.com/kyverno/kyverno","details":"Kyverno resource with a deletionTimestamp may allow policy circumvention in github.com/kyverno/kyverno","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.0"}]}],"fixed":["1.10.0"],"provider":"osv","source":"GO-2023-1819","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-hq4m-4948-64cc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34091"},{"type":"WEB","url":"https://github.com/kyverno/kyverno/releases/tag/v1.10.0"}]}],"references":[{"type":"WEB","url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-hq4m-4948-64cc"},{"type":"WEB","url":"https://github.com/kyverno/kyverno/releases/tag/v1.10.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34091"},{"type":"PACKAGE","url":"https://github.com/kyverno/kyverno"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2023-34091","url":"https://www.cve.org/CVERecord?id=CVE-2023-34091","license":"CC-BY-4.0","modified_at":"2025-01-08T21:32:51.451Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-34091","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34091","relation":"self"},{"provider":"osv","source_id":"GHSA-hq4m-4948-64cc","url":"https://osv.dev/vulnerability/GHSA-hq4m-4948-64cc","license":"CC-BY-4.0","modified_at":"2026-08-07T08:12:31.320239Z","relation":"self"},{"provider":"osv","source_id":"GO-2023-1819","url":"https://osv.dev/vulnerability/GO-2023-1819","license":"CC-BY-4.0","modified_at":"2026-08-07T08:12:24.202437Z","relation":"self"}]}
