CVE-2024-47855
JSON-lib mishandles an unbalanced comment string
util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.
- Record
CVE-2024-47855- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
EUVDEUVD-2024-3157
5.3
util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.
- Record
EUVD-2024-3157- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wwcp-26wc-3fxm
6.9
JSON-lib mishandles an unbalanced comment string
util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.
- Record
GHSA-wwcp-26wc-3fxm- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
NVD
5.3
util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.
- Record
CVE-2024-47855- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSV
5.3
util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.
- Record
CVE-2024-47855- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-47855
5.3
util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.
- Record
DEBIAN-CVE-2024-47855- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Show 10 moreShow less
OSVGHSA-wwcp-26wc-3fxm
6.9
JSON-lib mishandles an unbalanced comment string
util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.
- Record
GHSA-wwcp-26wc-3fxm- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVOESA-2024-2228
4.0
json-lib security update
JSON-lib is a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans.
Security Fix(es):
util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.(CVE-2024-47855)
- Record
OESA-2024-2228- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVRHSA-2025:2218
8.0
Red Hat Security Advisory: Red Hat Product OCP Tools 4.17 Openshift Jenkins security update
- Record
RHSA-2025:2218- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2025:2219
8.0
Red Hat Security Advisory: Red Hat Product OCP Tools 4.16 Openshift Jenkins security update
- Record
RHSA-2025:2219- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2025:2220
8.0
Red Hat Security Advisory: Red Hat Product OCP Tools 4.15 Openshift Jenkins security update
- Record
RHSA-2025:2220- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2025:2221
8.0
Red Hat Security Advisory: Red Hat Product OCP Tools 4.14 Openshift Jenkins security update
- Record
RHSA-2025:2221- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2025:2222
8.0
Red Hat Security Advisory: Red Hat Product OCP Tools 4.13 Openshift Jenkins security update
- Record
RHSA-2025:2222- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2025:2223
8.0
Red Hat Security Advisory: Red Hat Product OCP Tools 4.12 Openshift Jenkins security update
- Record
RHSA-2025:2223- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-47855
5.3
util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.
- Record
UBUNTU-CVE-2024-47855- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVSUSE-SU-2024:3543-1 No score
Security update for json-lib
This update for json-lib fixes the following issues:
- CVE-2024-47855: Fixed mishandled unbalanced comment string (bsc#1231295)
- Record
SUSE-SU-2024:3543-1- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.kordamp.json:json-lib-coreMaven |
before 3.1.0 | 3.1.0 |
net.sf.json-lib:json-libMaven |
through 2.4 | None known |
libjson-javaDebian:12 |
All versions, plus listed versions 2.4-3.13.1.0+dfsg-13.1.0+dfsg-23.2.0+dfsg-13.2.0+dfsg-23.2.0+dfsg-3 |
None known |
libjson-javaDebian:13 |
before 3.1.0+dfsg-1 | 3.1.0+dfsg-1 |
libjson-javaDebian:14 |
before 3.1.0+dfsg-1 | 3.1.0+dfsg-1 |
org.kordamp.json:json-lib-coreMaven |
before 3.1.0, plus listed versions 3.0.13.0.23.0.3 |
3.1.0 |
net.sf.json-lib:json-libMaven |
through 2.4, plus listed versions 0.7.10.80.91.01.0.1 Show 8 moreShow less1.12.02.12.22.2.12.2.22.2.32.3 |
None known |
json-libopenEuler:22.03-LTS-SP3 |
before 2.4-23.oe2203sp3 | 2.4-23.oe2203sp3 |
json-libopenEuler:20.03-LTS-SP4 |
before 2.4-21.oe2003sp4 | 2.4-21.oe2003sp4 |
json-libopenEuler:22.03-LTS-SP1 |
before 2.4-23.oe2203sp1 | 2.4-23.oe2203sp1 |
Show 24 moreShow less
| Package | Affected | Fixed |
|---|---|---|
json-libopenEuler:24.03-LTS |
before 2.4-23.oe2403 | 2.4-23.oe2403 |
json-libopenEuler:22.03-LTS-SP4 |
before 2.4-23.oe2203sp4 | 2.4-23.oe2203sp4 |
jenkinsRed Hat:ocp_tools:4.17::el9 From an advisory covering 5 CVEs |
before 0:2.479.3.1739859586-3.el9 | 0:2.479.3.1739859586-3.el9 |
jenkins-2-pluginsRed Hat:ocp_tools:4.17::el9 From an advisory covering 5 CVEs |
before 0:4.17.1739859908-1.el9 | 0:4.17.1739859908-1.el9 |
jenkinsRed Hat:ocp_tools:4.16::el9 From an advisory covering 5 CVEs |
before 0:2.479.3.1739896390-3.el9 | 0:2.479.3.1739896390-3.el9 |
jenkins-2-pluginsRed Hat:ocp_tools:4.16::el9 From an advisory covering 5 CVEs |
before 0:4.16.1739896683-1.el9 | 0:4.16.1739896683-1.el9 |
jenkinsRed Hat:ocp_tools:4.15::el8 From an advisory covering 5 CVEs |
before 0:2.479.3.1740051993-3.el8 | 0:2.479.3.1740051993-3.el8 |
jenkins-2-pluginsRed Hat:ocp_tools:4.15::el8 From an advisory covering 5 CVEs |
before 0:4.15.1740052174-1.el8 | 0:4.15.1740052174-1.el8 |
jenkinsRed Hat:ocp_tools:4.14::el8 From an advisory covering 5 CVEs |
before 0:2.479.3.1740109575-3.el8 | 0:2.479.3.1740109575-3.el8 |
jenkins-2-pluginsRed Hat:ocp_tools:4.14::el8 From an advisory covering 5 CVEs |
before 0:4.14.1740109868-1.el8 | 0:4.14.1740109868-1.el8 |
jenkinsRed Hat:ocp_tools:4.13::el8 From an advisory covering 5 CVEs |
before 0:2.479.3.1740464433-3.el8 | 0:2.479.3.1740464433-3.el8 |
jenkins-2-pluginsRed Hat:ocp_tools:4.13::el8 From an advisory covering 5 CVEs |
before 0:4.13.1740464698-1.el8 | 0:4.13.1740464698-1.el8 |
jenkinsRed Hat:ocp_tools:4.12::el8 From an advisory covering 6 CVEs |
before 0:2.479.3.1740464431-3.el8 | 0:2.479.3.1740464431-3.el8 |
jenkins-2-pluginsRed Hat:ocp_tools:4.12::el8 From an advisory covering 6 CVEs |
before 0:4.12.1740464689-1.el8 | 0:4.12.1740464689-1.el8 |
json-libopenSUSE:Leap 15.5 |
before 2.4-150200.3.7.1 | 2.4-150200.3.7.1 |
json-libopenSUSE:Leap 15.6 |
before 2.4-150200.3.7.1 | 2.4-150200.3.7.1 |
libjson-javaUbuntu:16.04:LTS |
All versions, plus listed versions 2.3-32.4-12.4-2 |
None known |
libjson-javaUbuntu:18.04:LTS |
All versions, plus listed versions 2.4-3 |
None known |
libjson-javaUbuntu:20.04:LTS |
All versions, plus listed versions 2.4-3 |
None known |
libjson-javaUbuntu:22.04:LTS |
All versions, plus listed versions 2.4-3.1 |
None known |
libjson-javaUbuntu:24.04:LTS |
All versions, plus listed versions 2.4-3.1 |
None known |
libjson-javaUbuntu:25.10 |
All versions, plus listed versions 3.1.0+dfsg-2 |
None known |
libjson-javaUbuntu:26.10 |
All versions, plus listed versions 3.2.0+dfsg-2 |
None known |
libjson-javaUbuntu:26.04:LTS |
All versions, plus listed versions 3.1.0+dfsg-23.2.0+dfsg-2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-47855 is a medium vulnerability (CVSS 5.3) in json-lib, published October 4, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 17.6%, the 97th percentile. Fixed in org.kordamp.json:json-lib-core 3.1.0.
References
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
github.com/kordamp/json-lib/blob/35a1f2aa22bac260438c0cf2399549311b5a21aa/pom.xml
sourceforge.net/projects/json-lib
github.com/advisories/GHSA-wwcp-26wc-3fxm
Show 53 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47855.json
security-tracker.debian.org/tracker/CVE-2024-47855
github.com/kordamp/json-lib
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2228
access.redhat.com/errata/RHSA-2025:2218
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2316421
bugzilla.redhat.com/show_bug.cgi?id=2324606
bugzilla.redhat.com/show_bug.cgi?id=2326034
bugzilla.redhat.com/show_bug.cgi?id=2326043
bugzilla.redhat.com/show_bug.cgi?id=2326047
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_2218.json
access.redhat.com/security/cve/CVE-2024-47072
cve.org/CVERecord?id=CVE-2024-47072
nvd.nist.gov/vuln/detail/CVE-2024-47072
github.com/x-stream/xstream/commit/bb838ce2269cac47433e31c77b2b236466e9f266
github.com/x-stream/xstream/security/advisories/GHSA-hfq9-hggm-c56q
x-stream.github.io/CVE-2024-47072.html
access.redhat.com/security/cve/CVE-2024-47855
cve.org/CVERecord?id=CVE-2024-47855
access.redhat.com/security/cve/CVE-2024-52549
cve.org/CVERecord?id=CVE-2024-52549
nvd.nist.gov/vuln/detail/CVE-2024-52549
jenkins.io/security/advisory/2024-11-13
access.redhat.com/security/cve/CVE-2024-52550
cve.org/CVERecord?id=CVE-2024-52550
nvd.nist.gov/vuln/detail/CVE-2024-52550
access.redhat.com/security/cve/CVE-2024-52551
cve.org/CVERecord?id=CVE-2024-52551
nvd.nist.gov/vuln/detail/CVE-2024-52551
access.redhat.com/errata/RHSA-2025:2219
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_2219.json
access.redhat.com/errata/RHSA-2025:2220
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_2220.json
access.redhat.com/errata/RHSA-2025:2221
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_2221.json
access.redhat.com/errata/RHSA-2025:2222
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_2222.json
access.redhat.com/errata/RHSA-2025:2223
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_2223.json
access.redhat.com/security/cve/CVE-2024-45339
bugzilla.redhat.com/show_bug.cgi?id=2342463
cve.org/CVERecord?id=CVE-2024-45339
nvd.nist.gov/vuln/detail/CVE-2024-45339
github.com/golang/glog/pull/74
github.com/golang/glog/pull/74/commits/b8741656e406e66d6992bc2c9575e460ecaa0ec2
groups.google.com/g/golang-announce/c/H-Q4ouHWyKs
owasp.org/www-community/vulnerabilities/Insecure_Temporary_File
pkg.go.dev/vuln/GO-2025-3372
suse.com/support/update/announcement/2024/suse-su-20243543-1
bugzilla.suse.com/1231295
suse.com/security/cve/CVE-2024-47855
ubuntu.com/security/CVE-2024-47855