CVE-2023-1370

json-smart Uncontrolled Recursion vulnerabilty in maven/net.minidev/json-smart

Identifiers

GHSA-493p-pfq6-5258, CVE-2023-1370

Package Slug

maven/net.minidev/json-smart

Vulnerability

json-smart Uncontrolled Recursion vulnerabilty

Description

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.

Affected Versions

All versions before 2.4.9

Solution

Upgrade to version 2.4.9 or above.

Last Modified

2023-03-24

source