{"id":"CVE-2025-47281","state":"PUBLISHED","title":"Kyverno's Improper JMESPath Variable Evaluation Leads to Denial of Service","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.","publishedAt":"2025-07-23T20:35:21.199Z","updatedAt":"2025-07-23T20:49:31.882Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["kyverno kyverno"],"affected":[{"vendor":"kyverno","product":"kyverno","versions":[{"version":"< 1.14.2","status":"affected"}]}],"references":["https://github.com/kyverno/kyverno/security/advisories/GHSA-r5p3-955p-5ggq","https://github.com/kyverno/kyverno/commit/cbd7d4ca24de1c55396fc3295e9fc3215832be7c"],"weaknesses":["CWE-20","CWE-248"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/47xxx/CVE-2025-47281.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-47281","state":"PUBLISHED","datePublished":"2025-07-23T20:35:21.199Z","dateUpdated":"2025-07-23T20:49:31.882Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-05-05T16:53:10.373Z"},"containers":{"cna":{"title":"Kyverno's Improper JMESPath Variable Evaluation Leads to Denial of Service","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"kyverno","product":"kyverno","versions":[{"version":"< 1.14.2","status":"affected"}]}],"references":[{"url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-r5p3-955p-5ggq","name":"https://github.com/kyverno/kyverno/security/advisories/GHSA-r5p3-955p-5ggq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kyverno/kyverno/commit/cbd7d4ca24de1c55396fc3295e9fc3215832be7c","name":"https://github.com/kyverno/kyverno/commit/cbd7d4ca24de1c55396fc3295e9fc3215832be7c","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"CWE-248: Uncaught Exception","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-07-23T20:35:21.199Z"},"source":{"advisory":"GHSA-r5p3-955p-5ggq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-r5p3-955p-5ggq","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-23T20:49:21.262159Z","id":"CVE-2025-47281","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-23T20:49:31.882Z"}}]}}}