JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| maven:org.json:json | >= 20150729, < 20260719 | 20260719 |
1. Executive Summary JSON-java version 20260522 contains an unguarded path from an HTTP request body to unbounded BigInteger and BigDecimal construction. JSONTokener.nextSimpleValue() accumulates numeric characters into a StringBuilder with no length cap, then passes the full string to JSONObject.stringToNumber(), which calls new BigInteger(val) or new BigDecimal(val) directly. Both constructors have polynomial time complexity (O(n^1.585) for BigInteger). A 488 KB JSON body — well within nginx'…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/11/10 06:12、GitHub Advisory Databaseが「JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: Java、nginx。CVE: CVE-2026-59171。