CVE-2022-45688Published Dec 13, 2022 · Dec 13Updated Oct 28
json stack overflow vulnerability
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cn.hutool:hutool-json Maven |
|
|
| org.json:json Maven |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| cn.hutool:hutool-json Maven |
|
|
| org.json:json Maven |
|
|
A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.
From the CVE record · mitre
A stack overflow in hutool-json's XML.toJSONObject component can cause a denial of service when it processes crafted JSON or XML data. The input does not specify whether authentication or user interaction is required.
Check applications using Maven cn.hutool:hutool-json before 5.8.25 or org.json:json before 20230227.