HIGH 7.5
CVE-2023-1436
Jettison vulnerable to infinite recursion
Description
An infinite recursion is triggered in Jettison when constructing a JSONArray from a Collection that contains a self-reference in one of its elements. This leads to a StackOverflowError exception being thrown.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.codehaus.jettison » jettison | < 1.5.4 | 1.5.4 |
Blast radius
1affected artifacts
38affected versions
22,866dependent artifacts (est.)
2,023,149dependent versions
65% of the dependent artifacts (14,886) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 94,793 |
| 2 hops | 272,251 |
| 3 hops | 589,965 |
| 4 hops | 548,536 |
| 5 hops | 356,655 |
| 6 hops | 160,949 |
Most used dependents
- org.sonatype.plugins » nexus-staging-maven-plugin36,701 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- org.apache.cxf » cxf-rt-frontend-jaxrs1,257 usages
- com.microsoft.sqlserver » mssql-jdbc1,206 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- org.jboss.resteasy » resteasy-jaxrs1,181 usages
- org.apache.kafka » connect-api1,026 usages
- com.sun.jersey » jersey-json999 usages
- org.apache.flink » flink-streaming-java982 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-2023-1436
- Webhttps://github.com/jettison-json/jettison/issues/60
- Webhttps://github.com/jettison-json/jettison/pull/62
- Packagehttps://github.com/jettison-json/jettison
- Webhttps://github.com/jettison-json/jettison/releases/tag/jettison-1.5.4
- Webhttps://research.jfrog.com/vulnerabilities/jettison-json-array-dos-xray-427911
