Impact
The vulnerability lies in the JsonPatch.apply method of the java‑json‑tools json‑patch library. Maliciously constructing a patch document can trigger excessive allocation of memory or CPU cycles, leading to a denial of service. This is a classic resource exhaustion situation identified as CWE‑400 and CWE‑404. Attackers can achieve this merely by sending a crafted patch to any component that uses the library, potentially causing application slowdown or crash. The vulnerability is listed with a CVSS score of 6.9, moderate severity.
Affected Systems
The library is affected up to version 1.13, including all 1.13.x releases. It is compatible with all Java environments that include java‑json‑tools json‑patch. Any application, microservice, or API that directly or indirectly processes JSON patch requests using this library is vulnerable. The product is a pure Java library available via Maven, Gradle, or GitHub, used in numerous projects across Java ecosystems.
Risk and Exploitability
The EPSS score is not available, so the current exploitation probability is unknown. The vulnerability is not yet listed in CISA's KEV catalog, suggesting no documented widespread exploitation yet. Nevertheless, the vulnerability can be triggered remotely through any exposed endpoint that accepts JSON patch payloads. An attacker could upload an oversized or complex patch document, forcing the application to consume excessive resources, potentially leading to service degradation or denial of service for legitimate users.
OpenCVE Enrichment