CVE-2023-1370
published high CVSS 3.1 · 7.5Stack exhaustion in json-smart leads to denial of service when parsing malformed JSON
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| json-smart | — | net.minidev:json-smartjson-smart · 0 to < 2.4.9 | Affected | Not stated | JFROG |
| Debian | buster | json-smart | Advisory build | 2.2-2+deb10u1 | DLA-3373-1 |
| Ubuntu | bionic | json-smart | Advisory build | 2.2-2ubuntu0.18.04.1 | USN-6011-1 |
| Ubuntu | bionic | libjson-smart-java | Advisory build | 2.2-2ubuntu0.18.04.1 | USN-6011-1 |
| Ubuntu | focal | json-smart | Advisory build | 2.2-2ubuntu0.20.04.1 | USN-6011-1 |
| Ubuntu | focal | libjson-smart-java | Advisory build | 2.2-2ubuntu0.20.04.1 | USN-6011-1 |
| Ubuntu | jammy | json-smart | Advisory build | 2.2-2ubuntu0.22.04.1 | USN-6011-1 |
| Ubuntu | jammy | libjson-smart-java | Advisory build | 2.2-2ubuntu0.22.04.1 | USN-6011-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- JFROG · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| json-smart | json-smart | 0 to < 2.4.9 (affected · maven) | JFROG · cna |
Weaknesses
1- CWE-674 CWE-674 Uncontrolled Recursion
References
2Provider assertions
3JFROG · cna
Stack exhaustion in json-smart leads to denial of service when parsing malformed JSON
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3bae0a83defef81e4ca98a734d7683e9c5e46cf6f39cbdc5eec7244b9e8d8005
- Ingested
- 23 Sep 2026, 08:05:26 UTC
- Source record
- Official CVE record