Skip to main content
← All vulnerabilities
CVE-2023-1370GHSA-493P-PFQ6-5258

Stack exhaustion in json-smart leads to denial of service when parsing malformed JSON

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.4.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • net.minidev:json-smart

    fixed in 2.4.9

  • net.minidev:json-smartMaven

    fixed in 2.4.9

References 2

research.jfrog.com

security.netapp.com