CVE-2022-45690 json
hutool-json stack overflow vulnerability
published 3y ago modified 4mo ago also GHSA-whgh-g24c-3j5q , EUVD-2022-7762
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven cn.hutool:hutool-json 5.8.11
- stleary json-java 20220320
- hutool hutool 5.8.11
Is CVE-2022-45690 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.01% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/dromara/hutool/issues/2746 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/stleary/JSON-java/issues/654 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | cn.hutool:hutool-json | <5.8.11 |
5.8.11 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/stleary/JSON-java/commit/7a124d857dc8da1165c87fa788e53359a317d0f7
web
-
github.com
/dromara/hutool/issues/2746
web, exploit, issue-tracking, third-party-advisory
-
github.com
/stleary/JSON-java/issues/654
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-45690
advisory
-
github.com
/dromara/hutool
package
Sources
- CVE List CVE-2022-45690
- GitHub Advisory GHSA-whgh-g24c-3j5q
- NVD CVE-2022-45690
Fencer Intel 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.