{"answers":{"affected":"3 open source packages ship an affected version, including github.com/kyverno/kyverno. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-34091 in the wild and no public exploit code.","fix":"Upgrade github.com/kyverno/kyverno to 1.10.0 or later.","what":"CVE-2023-34091 is a medium-severity missing authorization vulnerability in kyverno, published on 1 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-34091 and fix it if it is affected.\n\nWhat it is: CVE-2023-34091 is a medium-severity missing authorization vulnerability in kyverno, published on 1 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-34091 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/kyverno/kyverno (Go): affected all versions; fixed in 1.10.0\n- github.com/kyverno/kyverno (Go): affected all versions; fixed in 1.10.0\n- github.com/kyverno/kyverno (Go): affected all versions; fixed in 1.10.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-34091/ (Markdown: https://insights.sbomify.com/CVE-2023-34091/index.md)","id":"CVE-2023-34091","markdown":"https://insights.sbomify.com/CVE-2023-34091/index.md","name":"CVE-2023-34091","record":{"aliases":["CLEANSTART-2025-XQ01253","CLEANSTART-2026-FU09912","GHSA-hq4m-4948-64cc","GO-2023-1819"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes policy engine","requires_auth":"low_privilege","summary":"Attackers can bypass Kyverno policies by using finalizers to set a deletionTimestamp, allowing unauthorized resource modifications in Kubernetes clusters.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kyverno","vendor":"nirmata"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"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 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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Kyverno resource with a deletionTimestamp may allow policy circumvention","id":"CVE-2023-34091","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)","id":"CVE-2023-34092"},"packages":[{"ecosystem":"Go","fixed":["1.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":null,"source":"GHSA-hq4m-4948-64cc"},{"ecosystem":"Go","fixed":["1.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GHSA-hq4m-4948-64cc"},{"ecosystem":"Go","fixed":["1.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GO-2023-1819"}],"prev":{"headline":"Decidim vulnerable to sensitive data disclosure","id":"CVE-2023-34090"},"products":["kyverno"],"published":"2023-06-01","related":[{"cvss_score":8.7,"headline":"Kyverno's PolicyException objects can be created in any namespace by default","id":"CVE-2024-48921","kev_date_added":null,"published":"2024-10-29"},{"cvss_score":6.1,"headline":"Denial of service from malicious manifest in kyverno","id":"CVE-2023-42813","kev_date_added":null,"published":"2023-11-13"},{"cvss_score":6.1,"headline":"Denial of service from malicious signature in kyverno","id":"CVE-2023-42816","kev_date_added":null,"published":"2023-11-13"},{"cvss_score":4.6,"headline":"kyverno seccomp control can be circumvented","id":"CVE-2023-33191","kev_date_added":null,"published":"2023-05-30"},{"cvss_score":3.1,"headline":"Denial of service from malicious image manifest in kyverno","id":"CVE-2023-42814","kev_date_added":null,"published":"2023-11-13"},{"cvss_score":3.1,"headline":"Denial of service from malicious image manifest in kyverno","id":"CVE-2023-42815","kev_date_added":null,"published":"2023-11-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-08","vendors":["kyverno"]},"summary":"Attackers can bypass Kyverno policies by using finalizers to set a deletionTimestamp, allowing unauthorized resource modifications in Kubernetes clusters.","url":"https://insights.sbomify.com/CVE-2023-34091/"}