CVE-2023-1370
HIGH 7.5CVSS 3.1json-smart Uncontrolled Recursion vulnerability
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.
- Published
- 22 Mar 2023
- Last modified
- 10 Sep 2026
- Assigned by
- reefs@jfrog.com
- NVD status
- Modified
- Weakness
- CWE-674
- Also known as
- GHSA-493p-pfq6-5258
- Sources
- NVDJSONOSV GHSA-493p-pfq6-5258JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | reefs@jfrog.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | json-smart_project | json-smartcpe:2.3:a:json-smart_project:json-smart:*:*:*:*:*:*:*:* |
< 2.4.9 | 2.4.9 |
| OSV | Maven | net.minidev:json-smart | < 2.4.9 | 2.4.9 |
References
- https://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633/ · Exploit, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20240621-0006/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-1370 · ADVISORY
- https://github.com/netplex/json-smart-v2/issues/137 · WEB
- https://github.com/netplex/json-smart-v2/commit/5b3205d051952d3100aa0db1535f6ba6226bd87a · WEB
- https://github.com/netplex/json-smart-v2/commit/e2791ae506a57491bc856b439d706c81e45adcf8 · WEB
- https://github.com/oswaldobapvicjr/jsonmerge · PACKAGE
- https://security.snyk.io/vuln/SNYK-JAVA-NETMINIDEV-3369748 · WEB
- https://www.cve.org/CVERecord?id=CVE-2023-1370 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 22 Mar 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Mar 2023)