GitHub Advisoryadvisory · Maven
GHSA-3vqj-43w4-2q58 json stack overflow vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2022-45688
- Ecosystem
- Maven
- Packages
- cn.hutool:hutool-json, org.json:json
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-787
- Reviewed
- 2022-12-13
Affected packages
• Maven cn.hutool:hutool-json: < 5.8.25 → fixed in 5.8.25
• Maven org.json:json: < 20230227 → fixed in 20230227
Description
A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 and org.json:json before version 20230227 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.
Related
Alias · CVE (1)
- CVE-2022-45688 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… vulnerability
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-45688 advisory
- https://github.com/dromara/hutool/issues/2748 web
- https://github.com/stleary/JSON-java/issues/708 web
- https://github.com/dromara/hutool/commit/6a2b585de0a380e8c12016dbaa1620b69be11b8c web
- https://github.com/stleary/JSON-java/commit/a6e412bded7a0ad605adfeca029318f184c32102 web
- https://github.com/dromara/hutool/releases/tag/5.8.25 web