MODERATE 5.3

CVE-2024-47855

JSON-lib mishandles an unbalanced comment string

Description

util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
net.sf.json-lib » json-lib
<= 2.4
-
org.kordamp.json » json-lib-core
< 3.1.0
3.1.0

Blast radius

2affected artifacts
22affected versions
6,745dependent artifacts (est.)
366,212dependent versions

71% of the dependent artifacts (4,803) still pull an affected version in their latest release.

DepthDependent versions
Direct
33,775
2 hops
110,247
3 hops
96,423
4 hops
82,620
5 hops
36,328
6 hops
6,819

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.