CVE-2021-27568
Improper Check for Unusual or Exceptional Conditions in json-smart
Description
An issue was discovered in netplex json-smart-v1 through 2015-10-23 and json-smart-v2 through 2.4. An exception is thrown from a function, but it is not caught, as demonstrated by NumberFormatException. When it is not caught, it may cause programs using the library to crash or expose sensitive information.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| net.minidev » json-smart | < 1.3.2>= 2.0.0, < 2.3.1>= 2.4.0, < 2.4.1 | 1.3.2, 2.3.1, 2.4.1 |
| net.minidev » json-smart-mini | < 1.3.2 | 1.3.2 |
Blast radius
50% of the dependent artifacts (8,030) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 32,332 |
| 2 hops | 244,926 |
| 3 hops | 472,628 |
| 4 hops | 360,290 |
| 5 hops | 215,666 |
| 6 hops | 109,334 |
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
- com.nimbusds » nimbus-jose-jwt1,826 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.springframework.boot » spring-boot-test1,728 usages
- org.apache.kafka » kafka1,450 usages
- org.springframework.cloud » spring-cloud-starter-openfeign1,389 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- com.microsoft.sqlserver » mssql-jdbc1,206 usages
- org.springframework.cloud » spring-cloud-commons1,205 usages
- com.github.tomakehurst » wiremock-jre81,180 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-2021-27568
- Webhttps://github.com/netplex/json-smart-v1/issues/7
- Webhttps://github.com/netplex/json-smart-v2/issues/60
- Webhttps://github.com/netplex/json-smart-v2/issues/62
- Webhttps://github.com/netplex/json-smart-v2/pull/72
- Webhttps://github.com/netplex/json-smart-v1/commit/768db58ee0e3e344fcdb574b7629765308a1d0af
- Packagehttps://github.com/netplex/json-smart-v2
- Webhttps://lists.apache.org/thread.html/rb6287f5aa628c8d9af52b5401ec6cc51b6fc28ab20d318943453e396@%3Ccommits.druid.apache.org%3E
- Webhttps://lists.apache.org/thread.html/re237267da268c690df5e1c6ea6a38a7fc11617725e8049490f58a6fa@%3Ccommits.druid.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rf70210b4d63191c0bfb2a0d5745e104484e71703bf5ad9cb01c980c6@%3Ccommits.druid.apache.org%3E
- Webhttps://www.oracle.com//security-alerts/cpujul2021.html
- Webhttps://www.oracle.com/security-alerts/cpuapr2022.html
- Webhttps://www.oracle.com/security-alerts/cpujan2022.html
