{"answers":{"affected":"1 open source package ship an affected version, including github.com/kyverno/kyverno. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-42816 in the wild and no public exploit code.","fix":"Upgrade github.com/kyverno/kyverno to 1.5.0-rc1.0.20230918070231-fec2992e3f9f or later.","what":"CVE-2023-42816 is a medium-severity denial of service vulnerability in kyverno, published on 13 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-42816 and fix it if it is affected.\n\nWhat it is: CVE-2023-42816 is a medium-severity denial of service vulnerability in kyverno, published on 13 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-42816 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/kyverno/kyverno (Go): affected from 1.5.0-rc1.0.20230601080528-80d139bb5d1d; fixed in 1.5.0-rc1.0.20230918070231-fec2992e3f9f\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-42816/ (Markdown: https://insights.sbomify.com/CVE-2023-42816/index.md)","id":"CVE-2023-42816","markdown":"https://insights.sbomify.com/CVE-2023-42816/index.md","name":"CVE-2023-42816","record":{"aliases":["GHSA-4mp4-46gq-hv3r","GO-2023-2338"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Kubernetes policy engine","requires_auth":"none","summary":"Attacker controlling a registry can cause Kyverno denial of service via malicious signatures, affecting only source-built main branch users.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kyverno","vendor":"nirmata"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"Kyverno is a policy engine designed for Kubernetes. A security vulnerability was found in Kyverno where an attacker could cause denial of service of Kyverno. The vulnerability was in Kyvernos Notary verifier. An attacker would need control over the registry from which Kyverno would fetch signatures. With such a position, the attacker could return a malicious response to Kyverno, when Kyverno would send a request to the registry. The malicious response would cause denial of service of Kyverno, such that other users' admission requests would be blocked from being processed. This is a vulnerability in a new component released in v1.11.0. The only users affected by this are those that have been building Kyverno from source at the main branch which is not encouraged. Users consuming official Kyverno releases are not affected. There are no known cases of this vulnerability being exploited in the wild.","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":"Denial of service from malicious signature in kyverno","id":"CVE-2023-42816","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":1,"n_references":4,"next":{"headline":"Cross-site Scripting (XSS) in pimcore admin-ui-classic-bundle translations","id":"CVE-2023-42817"},"packages":[{"ecosystem":"Go","fixed":["1.5.0-rc1.0.20230918070231-fec2992e3f9f"],"introduced":["1.5.0-rc1.0.20230601080528-80d139bb5d1d"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GO-2023-2338"}],"prev":{"headline":"Denial of service from malicious image manifest in kyverno","id":"CVE-2023-42815"},"products":["kyverno"],"published":"2023-11-13","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.5,"headline":"Kyverno resource with a deletionTimestamp may allow policy circumvention","id":"CVE-2023-34091","kev_date_added":null,"published":"2023-06-01"},{"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":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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["kyverno"]},"summary":"Attacker controlling a registry can cause Kyverno denial of service via malicious signatures, affecting only source-built main branch users.","url":"https://insights.sbomify.com/CVE-2023-42816/"}