{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-34091","id":"CVE-2023-34091","title":"Kyverno resource with a deletionTimestamp may allow policy circumvention","description":"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 redu","descriptionLong":"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.","published":"2023-06-01T16:24:53.920Z","updated":"2026-10-28T02:30:26.447609743Z","reserved":"2023-05-25T21:56:51.244Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["kyverno"],"affectedProducts":[{"vendor":"kyverno","product":"kyverno","defaultStatus":null,"versions":[{"version":"< 1.10.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","ranges":["<1.10.0"],"fixed":["1.10.0"],"advisory":"GHSA-hq4m-4948-64cc"}],"cwes":["CWE-285"],"aliases":["GHSA-hq4m-4948-64cc","GO-2023-1819"],"references":[{"url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-hq4m-4948-64cc","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/kyverno/kyverno/releases/tag/v1.10.0","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34091.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34091","tags":["advisory"]},{"url":"https://github.com/kyverno/kyverno","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00497,"epssPercentile":0.4337,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-34091","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34091","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-34091","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hq4m-4948-64cc","ok":true,"note":"GHSA-hq4m-4948-64cc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-34091","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}