CVE-2023-1370
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 1.12%• Percentile: 65%
Techniques & Countermeasures
- CWE-674•Uncontrolled Recursion
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Affected Systems
- chainguard•celeborn-0.5
< 0.5.4-r26
- chainguard•celeborn-0.6
< 0.6.3-r7
- chainguard•druid
< 34.0.0-r6 | < 37.0.0-r14 | < 37.0.0-r56
- chainguard•elasticsearch-7
< 7.17.14-r2
- chainguard•hadoop-client-modules
< 3.3.6-r7
- chainguard•hadoop-fips-3.3.6
< 3.3.6-r15 | < 3.3.6-r21
- chainguard•hadoop-fips-3.4.2
all
- chainguard•hadoop-fips-3.5
< 3.5.0-r7
- chainguard•sonarqube-10
< 25.1.0.102122-r0
- chainguard•spark-3.5-scala-2.12
all
- chainguard•spark-3.5-scala-2.13
all
- chainguard•thingsboard
< 3.7-r4
- chainguard•thingsboard-tb-js-executor
< 3.7-r4
- chainguard•thingsboard-tb-mqtt-transport
< 3.7-r4
- chainguard•thingsboard-tb-node
< 3.7-r4
- chainguard•thingsboard-tb-web-ui
< 3.7-r4
- wolfi•celeborn-0.6
< 0.6.3-r7
- wolfi•druid
< 34.0.0-r6 | < 37.0.0-r14 | < 37.0.0-r56
- wolfi•sonarqube-10
< 25.1.0.102122-r0
- wolfi•thingsboard
< 3.7-r4
- wolfi•thingsboard-tb-js-executor
< 3.7-r4
- wolfi•thingsboard-tb-mqtt-transport
< 3.7-r4
- wolfi•thingsboard-tb-node
< 3.7-r4
- wolfi•thingsboard-tb-web-ui
< 3.7-r4
- debian•json-smart
< 2.2-2+deb11u1 | < 2.2-2+deb12u1 | < 2.2-3 | < 2.2-3
- json-smart_project•json-smart
< 2.4.9
- json-smart•json-smart
< 2.4.9
- net.minidev•json-smart
< 2.4.9
- redhat•jenkins-2-plugins
< 0:4.10.1684982411-1.el8
References (22)
- https://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633/
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://github.com/oswaldobapvicjr/jsonmerge/security/advisories/GHSA-493p-pfq6-5258
- https://nvd.nist.gov/vuln/detail/CVE-2023-1370
- https://github.com/netplex/json-smart-v2/issues/137
- https://github.com/netplex/json-smart-v2/commit/5b3205d051952d3100aa0db1535f6ba6226bd87a
- https://github.com/netplex/json-smart-v2/commit/e2791ae506a57491bc856b439d706c81e45adcf8
- https://github.com/oswaldobapvicjr/jsonmerge
- https://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633
- https://security.netapp.com/advisory/ntap-20240621-0006
- https://security.snyk.io/vuln/SNYK-JAVA-NETMINIDEV-3369748
- https://www.cve.org/CVERecord?id=CVE-2023-1370
- https://access.redhat.com/errata/RHSA-2023:3362
- https://access.redhat.com/security/updates/classification/#important
- https://access.redhat.com/articles/11258
- https://bugzilla.redhat.com/show_bug.cgi?id=2188542
- https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3362.json
- https://access.redhat.com/security/cve/CVE-2023-1370
- https://github.com/advisories/GHSA-493p-pfq6-5258
- https://security-tracker.debian.org/tracker/CVE-2023-1370
- https://mvnrepository.com
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1370.json