HIGH 7.5

CVE-2022-45688

json stack overflow vulnerability

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.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
cn.hutool » hutool-json
< 5.8.25
5.8.25
org.json » json
< 20230227
20230227

Blast radius

2affected artifacts
226affected versions
37,387dependent artifacts (est.)
1,990,283dependent versions

60% of the dependent artifacts (22,797) still pull an affected version in their latest release.

DepthDependent versions
Direct
151,009
2 hops
484,029
3 hops
600,564
4 hops
445,166
5 hops
226,834
6 hops
82,681

Most used dependents

Computed from the dependency graph of build 20261124.0621 (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.