CVE-2024-57699
Netplex Json-smart Uncontrolled Recursion vulnerability
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| net.minidev » json-smart | >= 2.5.0, < 2.5.2 | 2.5.2 |
Blast radius
44% of the dependent artifacts (3,214) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,144 |
| 2 hops | 31,891 |
| 3 hops | 86,754 |
| 4 hops | 36,202 |
| 5 hops | 16,176 |
| 6 hops | 7,831 |
Most used dependents
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- com.jayway.jsonpath » json-path2,686 usages
- com.github.tomakehurst » wiremock1,838 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- com.aliyun » tea-util1,356 usages
- org.apache.flink » flink-streaming-java982 usages
- com.aliyun » tea-openapi852 usages
- org.apache.spark » spark-mllib831 usages
- com.azure » azure-identity773 usages
- org.wiremock » wiremock733 usages
- org.apache.hive » hive-exec699 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-57699
- Webhttps://github.com/netplex/json-smart-v2/issues/232
- Webhttps://github.com/netplex/json-smart-v2/issues/233
- Webhttps://github.com/netplex/json-smart-v2/issues/236
- Webhttps://github.com/TurtleLiu/Vul_PoC/tree/main/CVE-2024-57699
- Packagehttps://github.com/netplex/json-smart-v2
- Webhttps://github.com/netplex/json-smart-v2/releases/tag/2.5.2
- Advisoryhttps://nvd.nist.gov/vuln/detail/cve-2023-1370
