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.