{"id":"CVE-2023-1370","published":"2023-03-13T09:04:36Z","modified":"2025-02-27T19:09:50Z","title":"Stack exhaustion in json-smart leads to denial of service when parsing malformed JSON","vendor":"json-smart","product":"json-smart","tier":"tail","description":{"text":"[Json-smart](https://netplex.github.io/json-smart/) is a performance focused, JSON processor lib.\n\nWhen reaching a ‘[‘ or ‘{‘ character in the JSON input, the code parses an array or an object respectively.\n\nIt 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01119,"percentile":0.66943,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240621-0006/","tags":[]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":13.39},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"json-smart","affectedVersions":[{"vendor":"json-smart","product":"json-smart","versions":["< 2.4.9"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-27T19:09:38.903630Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"net.minidev:json-smart","vulnerableRanges":["<2.4.9"],"patched":["2.4.9"],"from":["GHSA-493p-pfq6-5258"],"provenance":"source"}],"summary":{"text":"An attacker who can submit crafted, deeply nested JSON to an application using the library over the network, with no authentication or user interaction required, can exhaust the stack and crash the software, causing denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:12Z"},"euvd":{"id":"EUVD-2023-0861","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-json-smart-cve-2023-1370","children":[{"from":"CVE-2023-1370","to":"CVE-2024-57699","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This issue exists because of an incomplete fix for CVE-2023-1370.","from":"CVE.org","in":"CVE-2024-57699"},{"kind":"osv-related","provenance":"source","id":"GHSA-pq2g-wx69-c263","via":"reference","url":"https://nvd.nist.gov/vuln/detail/cve-2023-1370"},{"kind":"similar","provenance":"machine","score":0.41,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2021-27568","published":"2021-02-23","fixed":"2.4.1","kev":false},{"cve":"CVE-2021-31684","published":"2021-06-01","fixed":"2.4.4","kev":false,"link":{"from":"CVE-2021-31684","to":"CVE-2023-1370","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:net.minidev:json-smart","fromFixed":"2.4.4","toFixed":"2.4.9","daysApart":650}]}},{"cve":"CVE-2023-1370","published":"2023-03-13","fixed":"2.4.9","kev":false},{"cve":"CVE-2024-57699","published":"2025-02-05","fixed":"2.5.2","kev":false}],"package":"Maven:net.minidev:json-smart"}}