Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. net.sf.json-lib/json-lib
  4. ›
  5. CVE-2024-47855

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

October 4, 2024 (updated April 16, 2026)

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

References

  • github.com/advisories/GHSA-wwcp-26wc-3fxm
  • github.com/kordamp/json-lib
  • github.com/kordamp/json-lib/blob/35a1f2aa22bac260438c0cf2399549311b5a21aa/pom.xml
  • github.com/kordamp/json-lib/commit/a0c4a0eae277130e22979cf307c95dec4005a78e
  • github.com/kordamp/json-lib/compare/v3.0.3...v3.1.0
  • nvd.nist.gov/vuln/detail/CVE-2024-47855
  • sourceforge.net/projects/json-lib

Code Behaviors & Features

Detect and mitigate CVE-2024-47855 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.4

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Source file

maven/net.sf.json-lib/json-lib/CVE-2024-47855.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:17:57 +0000.