First published: Mon Mar 13 2023(Updated: )
[Json-smart](<a href="https://netplex.github.io/json-smart/">https://netplex.github.io/json-smart/</a>) 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. <a href="https://github.com/advisories/GHSA-493p-pfq6-5258">https://github.com/advisories/GHSA-493p-pfq6-5258</a> <a href="https://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633/">https://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633/</a> <a href="https://github.com/netplex/json-smart-v2/commit/5b3205d051952d3100aa0db1535f6ba6226bd87a">https://github.com/netplex/json-smart-v2/commit/5b3205d051952d3100aa0db1535f6ba6226bd87a</a> <a href="https://github.com/netplex/json-smart-v2/commit/e2791ae506a57491bc856b439d706c81e45adcf8">https://github.com/netplex/json-smart-v2/commit/e2791ae506a57491bc856b439d706c81e45adcf8</a>
Credit: reefs@jfrog.com reefs@jfrog.com reefs@jfrog.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/jenkins | <2-plugins-0:4.11.1686831822-1.el8 | 2-plugins-0:4.11.1686831822-1.el8 |
redhat/jenkins | <2-plugins-0:4.12.1686649756-1.el8 | 2-plugins-0:4.12.1686649756-1.el8 |
redhat/jenkins | <0:2.401.1.1686680404-3.el8 | 0:2.401.1.1686680404-3.el8 |
redhat/jenkins | <2-plugins-0:4.10.1684982411-1.el8 | 2-plugins-0:4.10.1684982411-1.el8 |
Json-smart Project Json-smart | =2.4.9 | |
redhat/json-smart | <2.4.9 | 2.4.9 |
redhat/json-smart | <2.4.10 | 2.4.10 |
Json-smart Project Json-smart | <2.4.9 | |
maven/net.minidev:json-smart | <2.4.9 | 2.4.9 |
IBM Cognos Analytics | <=11.2.x | |
IBM Cognos Analytics | <=11.1.x |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
CVE-2023-1370 is a vulnerability in net.minidev:json-smart that allows for a denial of service attack by exploiting a StackOverflowError when parsing a deeply nested JSON array or object.
CVE-2023-1370 can lead to a denial of service condition in systems running vulnerable versions of net.minidev:json-smart when parsing deeply nested JSON arrays or objects.
CVE-2023-1370 has a severity score of 7 out of 10, indicating a high severity vulnerability.
The affected software includes net.minidev:json-smart versions up to 2.4.9 and certain versions of json-smart and jenkins.
To fix CVE-2023-1370, update to version 2.4.9 of net.minidev:json-smart, version 2.4.10 of json-smart, or the specified patched versions of jenkins.