JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| stlearyJSON-java | — | 記載なし |
| mavenorg.json:json |
20150729 以上 20260719 未満→ 20260719 |
20260719 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
JSON-java is a reference implementation of a JSON package in Java. From version 20150729 through 20260522, JSONTokener.nextSimpleValue can accumulate unbounded numeric tokens before JSONObject.stringToNumber passes them to BigInteger or BigDecimal conversion without a length limit. An application that parses attacker-controlled JSON or XML through JSONObject, JSONArray, or XML.toJSONObject can spend super-linear CPU time converting a sufficiently long numeric literal, blocking request-handling threads and causing denial of service. Strict mode and keep-strings settings in JSONParserConfiguration do not prevent the affected conversion path. Version 20260719 limits numeric conversion length.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com