| Title | java-json-tools json-patch 1.13 Denial of Service via Unbounded Patch Operations and deepCopy |
|---|
| Description | Denial of Service via Unbounded Patch Operations and deepCopy in JsonPatch.apply()
JsonPatch.apply() accepts an unbounded number of patch operations with no limit, timeout, or backpressure mechanism. Each operation internally calls node.deepCopy(), resulting in O(N×M) resource consumption (N = number of operations, M = document size). A single HTTP request containing a large JSON Patch document can exhaust server CPU and memory.
more details at https://github.com/java-json-tools/json-patch/issues/167 |
|---|
| Source | ⚠️ https://github.com/java-json-tools/json-patch/issues/167 |
|---|
| User | York Shen - Yong Shen - PayPal Cyber Security Team (UID 100171) |
|---|
| Submission | 07/29/2026 06:41 (1 month ago) |
|---|
| Moderation | 09/07/2026 07:33 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 399510 [java-json-tools json-patch up to 1.13 Patch Operation JsonPatch.java JsonPatch.apply resource consumption] |
|---|
| Points | 20 |
|---|