HIGH 7.5

CVE-2021-31684

Out of bounds read in json-smart

Description

A vulnerability was discovered in the indexOf function of JSONParserByteArray in JSON Smart versions prior to 1.3.3 and 2.4.5 which causes a denial of service (DOS) via a crafted web request.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
net.minidev » json-smart
>= 1.3.0, < 1.3.3>= 2.4.0, < 2.4.4
1.3.3, 2.4.4

Blast radius

1affected artifacts
5affected versions
2,685dependent artifacts (est.)
255,814dependent versions

24% of the dependent artifacts (670) still pull an affected version in their latest release.

DepthDependent versions
Direct
5,838
2 hops
24,849
3 hops
54,100
4 hops
75,219
5 hops
68,087
6 hops
27,721

Most used dependents

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