MODERATE 7.5
CVE-2022-45690
hutool-json stack overflow vulnerability
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| cn.hutool » hutool-json | < 5.8.11 | 5.8.11 |
Blast radius
1affected artifacts
179affected versions
387dependent artifacts (est.)
2,835dependent versions
63% of the dependent artifacts (245) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,026 |
| 2 hops | 580 |
| 3 hops | 733 |
| 4 hops | 292 |
| 5 hops | 146 |
| 6 hops | 58 |
Most used dependents
- cn.hutool » hutool-all3,044 usages
- cn.hutool » hutool-http344 usages
- me.zhyd.oauth » JustAuth91 usages
- com.wuyushuo » spring-dollar49 usages
- cn.dev33 » sa-token-jwt44 usages
- com.xkcoding.justauth » justauth-spring-boot-starter39 usages
- cn.hutool » hutool-jwt34 usages
- io.github.stylesmile » fastboot-core21 usages
- com.wuyushuo » spring-saber-boxes18 usages
- io.github.eaopen » eap-spring-boot-starter-test18 usages
- io.github.eaopen » eap-spring-boot-starter-mybatis17 usages
- io.github.eaopen » eap-spring-boot-starter-security16 usages
- com.yomahub » tlog-common15 usages
- com.yomahub » tlog-core15 usages
- com.yomahub » tlog-web-spring-boot-starter15 usages
Computed from the dependency graph of build 20261202.0245 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-45690 | nvd.nist.gov |
| Package | dromara/hutool | github.com |
| Web | dromara/hutool issue #2746 | github.com |
| Web | stleary/JSON-java issue #654 | github.com |
| Web | stleary/JSON-java commit 7a124d8 | github.com |
