| タイトル | java-json-tools json-patch 1.13 Stack Overflow DoS via Uncontrolled Recursion |
|---|
| 説明 | JsonMergePatch.fromJson() uses a recursive deserializer (JsonMergePatchDeserializer) that recurses without any depth limit. A deeply nested JSON object (2000+ levels) causes StackOverflowError, killing the processing thread. This is a separate code path from Jackson's own parsing — even if Jackson 2.15+ limits parsing depth to 1000, a programmatically-built JsonNode passed to JsonMergePatch.fromJson() still triggers the unguarded recursion. |
|---|
| ソース | ⚠️ https://github.com/java-json-tools/json-patch/issues/168 |
|---|
| ユーザー | York Shen - Yong Shen - PayPal Cyber Security Team (UID 100171) |
|---|
| 送信 | 2026年07月29日 06:37 (1 月 ago) |
|---|
| モデレーション | 2026年09月07日 07:33 (1 month later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 399509 [java-json-tools json-patch 迄 1.13 JsonMergePatchDeserializer.java JsonMergePatch.fromJson メモリ破損] |
|---|
| ポイント | 20 |
|---|