CVE-2023-1370

Stack exhaustion in json-smart leads to denial of service when parsing malformed JSON

Published Mar 13, 2023 CVSS 3.1 · 7.5 High EPSS 1.1% KEV · Not listed
Description
[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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3373-1 json-smart security update
EUVD EUVD EUVD-2023-0861 [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.
Github GHSA Github GHSA GHSA-493p-pfq6-5258 json-smart Uncontrolled Recursion vulnerability
Ubuntu USN Ubuntu USN USN-6011-1 Json-smart vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:amq_streams:2.9::el9
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description [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. [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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
JFROG
Published
Updated
Feb 27, 2025, 7:09 PM
Reserved
Mar 13, 2023, 8:35 AM
Status
Modified
Published
Mar 22, 2023, 6:15 AM
Modified
Jun 17, 2026, 5:27 AM
Severity
Important
Public date
Mar 22, 2023, 12:00 AM