CVE-2025-47281 Kyverno's Improper JMESPath Variable Evaluation Leads to Denial of Service
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| kyverno | < 1.14.2; = < 1.14.2 | 1.14.2 | Fixed |
| kyverno(Go) | < 1.14.2; <= 1.14.1 | 1.14.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kyverno(Go) | < 1.14.2 | 1.14.2 |
| kyverno(Go) | <= 1.14.1 | No fix listed |
| kyverno | = < 1.14.2 | No fix listed |
| kyverno | < 1.14.2 | 1.14.2 |
References
- https://github.com/kyverno/kyverno/security/advisories/GHSA-r5p3-955p-5ggq exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/kyverno/kyverno/commit/cbd7d4ca24de1c55396fc3295e9fc3215832be7c patch
- github.com product
- github.com