HIGH 7.5
CVE-2021-31684
Out of bounds read in json-smart
Description
A vulnerability was discovered in the indexOf function of JSONParserByteArray in JSON Smart versions prior to 1.3.3 and 2.4.5 which causes a denial of service (DOS) via a crafted web request.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| net.minidev » json-smart | >= 1.3.0, < 1.3.3>= 2.4.0, < 2.4.4 | 1.3.3, 2.4.4 |
Blast radius
1affected artifacts
5affected versions
2,685dependent artifacts (est.)
255,814dependent versions
24% of the dependent artifacts (670) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 5,838 |
| 2 hops | 24,849 |
| 3 hops | 54,100 |
| 4 hops | 75,219 |
| 5 hops | 68,087 |
| 6 hops | 27,721 |
Most used dependents
- org.apache.hadoop » hadoop-common3,485 usages
- org.apache.spark » spark-sql3,177 usages
- org.apache.spark » spark-core2,901 usages
- com.nimbusds » nimbus-jose-jwt1,835 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,368 usages
- org.apache.flink » flink-streaming-java983 usages
- org.apache.hbase » hbase-client960 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.solr » solr-solrj784 usages
- com.azure » azure-identity773 usages
- org.apache.flink » flink-core736 usages
- com.atlassian.confluence » confluence724 usages
- org.apache.hive » hive-exec699 usages
Computed from the dependency graph of build 20261129.0021 (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
| Advisory | NVD CVE-2021-31684 | nvd.nist.gov |
| Package | netplex/json-smart-v1 | github.com |
| Web | netplex/json-smart-v1 issue #10 | github.com |
| Web | netplex/json-smart-v2 issue #67 | github.com |
| Web | netplex/json-smart-v1 pull request #11 | github.com |
| Web | netplex/json-smart-v2 pull request #68 | github.com |
| Web | debian-lts-announce/2023/03/msg00030.html | lists.debian.org |
| Web | advisory/ntap-20240621-0006 | security.netapp.com |
| Web | security-alerts/cpujan2022.html | oracle.com |
| Web | security-alerts/cpujul2022.html | oracle.com |
