← 취약점·업데이트

보통취약점 권고Javanginx

JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS

영향

패키지영향받는 버전수정 버전
maven:org.json:json>= 20150729, < 2026071920260719

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'…

GitHub Advisory Database에서 읽기

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.