{"answers":{"affected":"4 open source packages ship an affected version, including github.com/kyverno/kyverno and kyverno. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-47281 exists.","fix":"Upgrade github.com/kyverno/kyverno to 1.14.2 or later.","what":"CVE-2025-47281 is a high-severity denial of service vulnerability in kyverno, published on 23 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-47281 and fix it if it is affected.\n\nWhat it is: CVE-2025-47281 is a high-severity denial of service vulnerability in kyverno, published on 23 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-47281 exists.\n\nAffected packages and fixed versions:\n- github.com/kyverno/kyverno (Go): affected all versions; fixed in 1.14.2\n- github.com/kyverno/kyverno (Go): affected all versions; fixed in 1.14.2\n- github.com/kyverno/kyverno (Go): affected all versions; fixed in 1.14.2\n- kyverno (Bitnami): affected all versions; fixed in 1.14.2\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-2025-47281/ (Markdown: https://insights.sbomify.com/CVE-2025-47281/index.md)","id":"CVE-2025-47281","markdown":"https://insights.sbomify.com/CVE-2025-47281/index.md","name":"CVE-2025-47281","record":{"aliases":["BIT-kyverno-2025-47281","CLEANSTART-2026-JI50806","CLEANSTART-2026-OT05000","GHSA-r5p3-955p-5ggq","GO-2025-3823","MINI-4j32-w427-fhgg","MINI-9pqm-h4f2-vm78","MINI-9w44-862c-gc38","MINI-9wm6-v86r-j2p4","MINI-jp44-6xhj-frqc","MINI-p8jf-757q-j94x","MINI-qhmr-phx3-xqg4"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes policy engine","requires_auth":"low_privilege","summary":"Attackers with policy creation permissions can crash Kyverno admission and report controllers by crafting invalid JMESPath expressions, causing a denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kyverno","vendor":"kyverno"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Kyverno is a policy engine designed for cloud native platform engineering teams. In versions 1.14.1 and below, a Denial of Service (DoS) vulnerability exists due to improper handling of JMESPath variable substitutions. Attackers with permissions to create or update Kyverno policies can craft expressions using the {{@}} variable combined with a pipe and an invalid JMESPath function (e.g., {{@ | non_existent_function }}). This leads to a nil value being substituted into the policy structure. Subsequent processing by internal functions, specifically getValueAsStringMap, which expect string values, results in a panic due to a type assertion failure (interface {} is nil, not string). This crashes Kyverno worker threads in the admission controller and causes continuous crashes of the reports controller pod. This is fixed in version 1.14.2.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Kyverno's Improper JMESPath Variable Evaluation Leads to Denial of Service","id":"CVE-2025-47281","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":4,"n_references":2,"next":{"headline":"Malicious google credential in DNS secret can lead to privilege escalation","id":"CVE-2025-47282"},"packages":[{"ecosystem":"Bitnami","fixed":["1.14.2"],"introduced":["0"],"last_affected":[],"package":"kyverno","purl":"pkg:bitnami/kyverno","source":"BIT-kyverno-2025-47281"},{"ecosystem":"Go","fixed":["1.14.2"],"introduced":["0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":null,"source":"GHSA-r5p3-955p-5ggq"},{"ecosystem":"Go","fixed":["1.14.2"],"introduced":["0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GHSA-r5p3-955p-5ggq"},{"ecosystem":"Go","fixed":["1.14.2"],"introduced":["0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GO-2025-3823"}],"prev":{"headline":"Umbraco.Forms has HTML injection vulnerability in 'Send email' workflow","id":"CVE-2025-47280"},"products":["kyverno"],"published":"2025-07-23","related":[{"cvss_score":10,"headline":"Kyverno Cross-Namespace Privilege Escalation via Policy apiCall","id":"CVE-2026-22039","kev_date_added":null,"published":"2026-01-27"},{"cvss_score":9.8,"headline":"CVE-2026-4789","id":"CVE-2026-4789","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":8.6,"headline":"Kyverno vulnerable to bypass of policy rules that use namespace selectors in match statements","id":"CVE-2025-46342","kev_date_added":null,"published":"2025-04-30"},{"cvss_score":8.1,"headline":"Kyverno: ServiceAccount token leaked to external servers via apiCall service URL","id":"CVE-2026-41323","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":8.1,"headline":"kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token","id":"CVE-2026-40868","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.1,"headline":"kyverno verifyImages rule bypass possible with malicious proxy/registry","id":"CVE-2022-47633","kev_date_added":null,"published":"2022-12-23"},{"cvss_score":7.7,"headline":"Kyverno: Cross-Namespace Read Bypasses RBAC Isolation (CVE-2026-22039 Incomplete Fix)","id":"CVE-2026-41068","kev_date_added":null,"published":"2026-04-24"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-23","vendors":["kyverno"]},"summary":"Attackers with policy creation permissions can crash Kyverno admission and report controllers by crafting invalid JMESPath expressions, causing a denial of service.","url":"https://insights.sbomify.com/CVE-2025-47281/"}