{"answers":{"affected":"2 open source packages ship an affected version, including net.minidev:json-smart. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1370 exists.","fix":"Upgrade net.minidev:json-smart to 2.4.9 or later.","what":"CVE-2023-1370 is a high-severity denial of service vulnerability in json-smart, published on 13 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-1370 and fix it if it is affected.\n\nWhat it is: CVE-2023-1370 is a high-severity denial of service vulnerability in json-smart, published on 13 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1370 exists.\n\nAffected packages and fixed versions:\n- net.minidev:json-smart (Maven): affected all versions; fixed in 2.4.9\n- net.minidev:json-smart (Maven): affected all versions; fixed in 2.4.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-1370/ (Markdown: https://insights.sbomify.com/CVE-2023-1370/index.md)","id":"CVE-2023-1370","markdown":"https://insights.sbomify.com/CVE-2023-1370/index.md","name":"CVE-2023-1370","record":{"aliases":["CLEANSTART-2026-SG86847","CLEANSTART-2026-VC78491","CLSA-2025-1761005192","CLSA-2026-1791879047","CLSA-2026-1791879577","CLSA-2026-1792010833","CLSA-2026-1793129552","CLSA-2026-1793129826","DEBIAN-CVE-2023-1370","ECHO-55ea-dc8d-51d3","GHSA-493p-pfq6-5258","MINI-24x9-5c6h-p3qj","MINI-2h9p-p236-2896","MINI-gh9h-6r3v-56mq","MINI-gvg2-3jq3-crm7","MINI-j2vq-fpc4-p9cw","MINI-jc64-q65f-2f47","OESA-2023-1203","OESA-2023-1223","OESA-2023-1224","OESA-2023-1225","RHLW-2026-27d20d7df55218f5","RHSA-2023:3362","ROOT-APP-MAVEN-CVE-2023-1370","UBUNTU-CVE-2023-1370"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java JSON library","requires_auth":"none","summary":"Attackers can cause a denial of service by sending deeply nested JSON, triggering stack exhaustion in the json-smart library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"JFROG","cpe":[{"product":"json-smart","vendor":"json-smart_project"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"description":"[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.","ecosystems":["Maven","Red Hat:openshift:4.10::el8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Stack exhaustion in json-smart leads to denial of service when parsing malformed JSON","id":"CVE-2023-1370","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"W4 Post List \u003c 2.4.6 - Subscriber+ Password Protected Post Content Disclosure","id":"CVE-2023-1371"},"packages":[{"ecosystem":"Maven","fixed":["2.4.9"],"introduced":["0"],"last_affected":[],"package":"net.minidev:json-smart","purl":null,"source":"GHSA-493p-pfq6-5258"},{"ecosystem":"Maven","fixed":["2.4.9"],"introduced":["0"],"last_affected":[],"package":"net.minidev:json-smart","purl":"pkg:maven/net.minidev/json-smart","source":"GHSA-493p-pfq6-5258"},{"ecosystem":"Red Hat:openshift:4.10::el8","fixed":["0:4.10.1684982411-1.el8"],"introduced":["0"],"last_affected":[],"package":"jenkins-2-plugins","purl":"pkg:rpm/redhat/jenkins-2-plugins","source":"RHSA-2023:3362"}],"prev":{"headline":"TG Soft Vir.IT eXplorer IoControlCode VIRAGTLT.sys 0x82730088 denial of service","id":"CVE-2023-1369"},"products":["json-smart"],"published":"2023-03-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-27","vendors":["json-smart"]},"summary":"Attackers can cause a denial of service by sending deeply nested JSON, triggering stack exhaustion in the json-smart library.","url":"https://insights.sbomify.com/CVE-2023-1370/"}