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_app2026/11/10 06:12,GitHub Advisory Database 发布了“JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Java、nginx。CVE:CVE-2026-59171。