NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-47855: JSON-lib mishandles an unbalanced comment string

mediumCVSS 4.0 6.9 · 3.1 5.3GHSA-wwcp-26wc-3fxm

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

Published Oct 4, 2024 · Updated Apr 16, 2026

Affected packages

org.kordamp.json:json-lib-core

Ecosystem
Maven
Affected
< 3.1.0
Fixed in
3.1.0
Check
mvn dependency:tree -Dincludes=org.kordamp.json:json-lib-core

net.sf.json-lib:json-lib

Ecosystem
Maven
Affected
<= 2.4
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=net.sf.json-lib:json-lib

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to kmoens.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology