CVE-2022-45690
HIGH 7.5CVSS 3.1hutool-json stack overflow vulnerability
A stack overflow in the org.json.JSONTokener.nextValue::JSONTokener.java component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.
- Published
- 13 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-787
- Also known as
- GHSA-whgh-g24c-3j5q
- Sources
- NVDJSONOSV GHSA-whgh-g24c-3j5qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | stleary | json-javacpe:2.3:a:stleary:json-java:*:*:*:*:*:*:*:* |
< 20220320 | 20220320 |
| NVD | hutool | hutoolcpe:2.3:a:hutool:hutool:*:*:*:*:*:*:*:* |
< 5.8.11 | 5.8.11 |
| OSV | Maven | cn.hutool:hutool-json | < 5.8.11 | 5.8.11 |
References
- https://github.com/dromara/hutool/issues/2746 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/stleary/JSON-java/issues/654 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-45690 · ADVISORY
- https://github.com/stleary/JSON-java/commit/7a124d857dc8da1165c87fa788e53359a317d0f7 · WEB
- https://github.com/dromara/hutool · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Dec 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Dec 2022)