NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-57699: Netplex Json-smart Uncontrolled Recursion vulnerability

highCVSS 3.1 7.5GHSA-pq2g-wx69-c263

A security issue was found in Netplex Json-smart 2.5.0 through 2.5.1. When loading a specially crafted JSON input, containing a large number of ’{’, a stack exhaustion can be trigger, which could allow an attacker to cause a Denial of Service (DoS). This issue exists because of an incomplete fix for CVE-2023-1370. The fixed version only addresses the default modes provided by JSONParser, such as MODERFC4627.

Published Feb 6, 2025 · Updated Mar 12, 2025

Affected packages

net.minidev:json-smart

Ecosystem
Maven
Affected
>= 2.5.0, < 2.5.2
Fixed in
2.5.2
Check
mvn dependency:tree -Dincludes=net.minidev:json-smart

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

A security issue was found in Netplex Json-smart 2.5.0 through 2.5.1. When loading a specially crafted JSON input, containing a large number of ’{’, a stack exhaustion can be trigger, which could allow an attacker to cause a Denial of Service (DoS). This issue exists because of an incomplete fix for CVE-2023-1370.

The fixed version only addresses the default modes provided by JSONParser, such as MODE_RFC4627. If you create the JSONParser manually or with custom options, make sure to set the LIMIT_JSON_DEPTH option.

Credited to yeikel.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology