CVE-2022-45688 json
json stack overflow vulnerability
published 2022-12-13 3 y ago modified 2026-09-10 1 mo ago also GHSA-3vqj-43w4-2q58 , EUVD-2022-7491
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven cn.hutool:hutool-json 5.8.25
- maven org.json:json 20230227
- stleary json-java 20230227
- json-java openSUSE Tumbleweed 20240303-1.1
opensuse advisories openSUSE-SU-2024:14371-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.26% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/dromara/hutool/issues/2748 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/stleary/JSON-java/issues/708 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | cn.hutool:hutool-json | <5.8.25 |
5.8.25 |
| maven | org.json:json | <20230227 |
20230227 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/dromara/hutool/commit/6a2b585de0a380e8c12016dbaa1620b69be11b8c
web
-
github.com
/stleary/JSON-java/commit/a6e412bded7a0ad605adfeca029318f184c32102
web
-
github.com
/dromara/hutool/issues/2748
web, exploit, issue-tracking, third-party-advisory
-
github.com
/stleary/JSON-java/issues/708
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-45688
advisory
-
github.com
/dromara/hutool/releases/tag/5.8.25
web
Sources
- CVE List CVE-2022-45688
- GitHub Advisory GHSA-3vqj-43w4-2q58
- NVD CVE-2022-45688
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.