Skip to content
Fencer Vulns
medium 5.3

CVE-2024-47855 json

JSON-lib mishandles an unbalanced comment string

published 2024-10-04 2 y ago modified 2026-08-07 3 mo ago also GHSA-wwcp-26wc-3fxm , EUVD-2024-3157

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
17.6%
EPSS 17.6% chance of exploitation in 30 days, percentile 97%
public exploits
0
none known

Summary

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

Patch / fix

  • maven org.kordamp.json:json-lib-core 3.1.0
  • libjson-java Debian 14, Debian 13 3.1.0+dfsg-1

debian advisories DEBIAN-CVE-2024-47855

  • jenkins ocp tools 4.13 2.479.3.1740464433-3.el8
  • jenkins-2-plugins ocp tools 4.13 4.13.1740464698-1.el8
  • jenkins ocp tools 4.12 2.479.3.1740464431-3.el8
  • jenkins-2-plugins ocp tools 4.12 4.12.1740464689-1.el8
  • jenkins ocp tools 4.15 2.479.3.1740051993-3.el8
  • jenkins-2-plugins ocp tools 4.15 4.15.1740052174-1.el8
  • jenkins ocp tools 4.14 2.479.3.1740109575-3.el8
  • jenkins-2-plugins ocp tools 4.14 4.14.1740109868-1.el8

red hat advisories RHSA-2025:2222RHSA-2025:2223RHSA-2025:2220RHSA-2025:2221RHSA-2025:2218RHSA-2025:2219

  • json-lib openSUSE Leap 15.6, openSUSE Leap 15.5 2.4-150200.3.7.1

suse advisories SUSE-SU-2024:3543-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-47855 updated cvss 5.3

json-lib: Mishandling of an unbalanced comment string in json-lib

  • Red Hat Logging Subsystem for Red Hat OpenShift org.elasticsearch.plugin.prometheus-prometheus-exporter
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Data Grid 8 net.sf.json-lib/json-lib net.sf.json-lib/json-lib
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Fuse 7 net.sf.json-lib/json-lib net.sf.json-lib/json-lib Red Hat JBoss Data Grid 7 net.sf.json-lib/json-lib net.sf.json-lib/json-lib Red Hat JBoss Enterprise Application Platform 7 net.sf.json-lib/json-lib net.sf.json-lib/json-lib
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Single Sign-On 7 net.sf.json-lib/json-lib net.sf.json-lib/json-lib
    affected: workaround, no fix available “Fix deferred”
  • Red Hat streams for Apache Kafka net.sf.json-lib/json-lib net.sf.json-lib/json-lib
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins 2.479.3.1740464431-3.el8, jenkins-2-plugins 4.12.1740464689-1.el8
    fixed: vendor fix RHSA-2025:2223
  • Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.479.3.1740464433-3.el8, jenkins-2-plugins 4.13.1740464698-1.el8
    fixed: vendor fix RHSA-2025:2222
  • Red Hat OpenShift Developer Tools and Services for OCP 4.14 jenkins 2.479.3.1740109575-3.el8, jenkins-2-plugins 4.14.1740109868-1.el8
    fixed: vendor fix RHSA-2025:2221
show 4 more
  • Red Hat OpenShift Developer Tools and Services for OCP 4.15 jenkins 2.479.3.1740051993-3.el8, jenkins-2-plugins 4.15.1740052174-1.el8
    fixed: vendor fix RHSA-2025:2220
  • Red Hat OpenShift Developer Tools and Services for OCP 4.16 jenkins 2.479.3.1739896390-3.el9, jenkins-2-plugins 4.16.1739896683-1.el9
    fixed: vendor fix RHSA-2025:2219
  • Red Hat OpenShift Developer Tools and Services for OCP 4.17 jenkins 2.479.3.1739859586-3.el9, jenkins-2-plugins 4.17.1739859908-1.el9
    fixed: vendor fix RHSA-2025:2218
  • Red Hat JBoss Enterprise Application Platform 8 net.sf.json-lib/json-lib net.sf.json-lib/json-lib Red Hat JBoss Enterprise Application Platform Expansion Pack net.sf.json-lib/json-lib net.sf.json-lib/json-lib
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

17.57% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
maven org.kordamp.json:json-lib-core
<3.1.0
3.1.0
maven net.sf.json-lib:json-lib
<=2.4
no fix listed

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.