GitHub Advisoryadvisory · Maven
GHSA-pq2g-wx69-c263 Netplex Json-smart Uncontrolled Recursion vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2024-57699
- Ecosystem
- Maven
- Packages
- net.minidev:json-smart
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-674
- Reviewed
- 2025-02-06
Affected packages
• Maven net.minidev:json-smart: >= 2.5.0, < 2.5.2 → fixed in 2.5.2
Description
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.
Related
Alias · CVE (1)
- CVE-2024-57699 A security issue was found in Netplex Json-smart 2.5.0 through 2.5.1. vulnerability
Weakness · CWE (1)
- CWE-674 Uncontrolled Recursion weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-57699 advisory
- https://github.com/netplex/json-smart-v2/issues/232 web
- https://github.com/netplex/json-smart-v2/issues/233 web
- https://github.com/netplex/json-smart-v2/issues/236 web
- https://github.com/TurtleLiu/Vul_PoC/tree/main/CVE-2024-57699 web
- https://github.com/netplex/json-smart-v2 package
- https://github.com/netplex/json-smart-v2/releases/tag/2.5.2 web
- https://nvd.nist.gov/vuln/detail/cve-2023-1370 advisory