cve.bz

CVE-2023-1370 json-smart project json-smart: Uncontrolled Recursion

7.5 highExploit referenceEPSS 1.1%Fix available

High (7.5) in json-smart project json-smart. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in net.minidev:json-smart 2.4.9.

On this page
[Json-smart](https://netplex.github.io/json-smart/) is a performance focused, JSON processor lib. When reaching a ‘[‘ or ‘{‘ character in the JSON input, the code parses an array or an object respectively. It was discovered that the code does not have any limit to the nesting of such arrays or objects. Since the parsing of nested arrays and objects is done recursively, nesting too many of them can cause a stack exhaustion (stack overflow) and crash the software.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-02-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-1370 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1370?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1370?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-1370 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
json-smartbefore 2.4.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-493p-pfq6-5258Mavennet.minidev:json-smart<2.4.92.4.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10json-smart2.2-2+deb10u1DLA-3373-1
Debian12json-smart2.2-2+deb12u1DEBIAN-CVE-2023-1370
Debian13, 14json-smart2.2-3DEBIAN-CVE-2023-1370
Ubuntu18.04:LTSjson-smart2.2-2ubuntu0.18.04.1UBUNTU-CVE-2023-1370 USN-6011-1
Ubuntu20.04:LTSjson-smart2.2-2ubuntu0.20.04.1UBUNTU-CVE-2023-1370 USN-6011-1
Ubuntu22.04:LTSjson-smart2.2-2ubuntu0.22.04.1UBUNTU-CVE-2023-1370 USN-6011-1
Red Hatocp_tools:4.11::el8jenkins0:2.401.1.1686831596-3.el8RHSA-2023:3663
Red Hatocp_tools:4.11::el8jenkins-2-plugins0:4.11.1686831822-1.el8RHSA-2023:3663
Red Hatocp_tools:4.12::el8jenkins0:2.401.1.1686649641-3.el8RHSA-2023:3610
Red Hatocp_tools:4.12::el8jenkins-2-plugins0:4.12.1686649756-1.el8RHSA-2023:3610
Red Hatocp_tools:4.13::el8jenkins0:2.401.1.1686680404-3.el8RHSA-2023:3622
Red Hatocp_tools:4.13::el8jenkins-2-plugins0:4.13.1686680473-1.el8RHSA-2023:3622
Red Hatopenshift:4.10::el8jenkins-2-plugins0:4.10.1684982411-1.el8RHSA-2023:3362

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
CEQ 2.13.2-2json-smartFixed 2023-05-17RHSA-2023:3179
CEQ 2.7.1-1json-smartFixed 2023-05-17RHSA-2023:3193
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1686649756-1.el8Fixed 2023-06-15RHSA-2023:3610
OCP-Tools-4.13-RHEL-8jenkins-0:2.401.1.1686680404-3.el8Fixed 2023-06-15RHSA-2023:3622
OpenShift Developer Tools and Services for OCP 4.11jenkins-2-plugins-0:4.11.1686831822-1.el8Fixed 2023-06-19RHSA-2023:3663
Red Hat AMQ Clientsjson-smartFixed 2023-12-07RHSA-2023:7697
Red Hat AMQ Streams 2.4.0Fixed 2023-05-18RHSA-2023:3223
Red Hat AMQ Streams 2.7.0Fixed 2024-05-30RHSA-2024:3527
Red Hat Fuse 7.12json-smartFixed 2023-06-29RHSA-2023:3954
Red Hat OpenShift Container Platform 4.10jenkins-2-plugins-0:4.10.1684982411-1.el8Fixed 2023-06-07RHSA-2023:3362
A-MQ Clients 2json-smartAffected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Red Hat AMQ Broker 7json-smartAffected
Red Hat build of Debezium 1json-smartAffected
Red Hat Data Grid 8json-smartAffected
Red Hat Decision Manager 7json-smartOut of support scope
Red Hat JBoss Data Grid 7json-smartOut of support scope
Red Hat JBoss Enterprise Application Platform 6json-smartNot affected
Red Hat JBoss Enterprise Application Platform 7json-smartNot affected
Red Hat JBoss Enterprise Application Platform 8json-smartNot affected
16 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-1370.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON