VDB

CVE-2023-1370

CVE-2023-1370 PUBLISHED CVSS 7.5 HIGH

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

Reported by jfrog · Published March 13, 2023

json-smart is fixed in 2.4.9 (Maven Central)

[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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
net.minidev:json-smartMaven Central2.4.9
spark-3.5Chainguard3.5.9-r10
sonarqube-10Wolfi25.1.0.102122-r0
celeborn-0.5Wolfi0.5.4-r26
hadoop-fips-3.5Chainguard3.5.0-r7
druidChainguard37.0.0-r56, 37.0.0-r14
celeborn-0.6Chainguard0.6.3-r7
sonarqube-10Chainguard25.1.0.102122-r0
elasticsearch-7Chainguard7.17.14-r2
hadoop-fips-3.3.6Chainguard3.3.6-r21
thingsboardWolfi3.7-r4
stargateChainguard1.0.79-r2

7 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
json-smartjson-smart0
json-smartjson-smart0

Timeline

  • Mar 13, 2023 CVE Published
  • Apr 22, 2023 EPSS Score (29 in total, the first dated here)
  • Feb 8, 2024 PoC Published (7 in total, the first dated here)
  • Feb 27, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory (41 in total, the first dated here)
  • May 21, 2026 Coalition ESS Score
  • Jul 2, 2026 Distribution Patch (38 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-1370
vulnetix vdb fixes CVE-2023-1370

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-1370/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›