CVE-2022-40149
Jettison parser crash by stackoverflow
Description
Those using Jettison to parse untrusted XML or JSON data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.codehaus.jettison » jettison | < 1.5.1 | 1.5.1 |
Blast radius
64% of the dependent artifacts (14,524) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 93,497 |
| 2 hops | 251,233 |
| 3 hops | 575,586 |
| 4 hops | 544,776 |
| 5 hops | 356,229 |
| 6 hops | 160,791 |
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-2022-40149
- Webhttps://github.com/jettison-json/jettison/issues/45
- Webhttps://github.com/jettison-json/jettison/pull/49/files
- Webhttps://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46538
- Packagehttps://github.com/jettison-json/jettison
- Webhttps://github.com/jettison-json/jettison/releases/tag/jettison-1.5.1
- Webhttps://lists.debian.org/debian-lts-announce/2022/11/msg00011.html
- Webhttps://www.debian.org/security/2023/dsa-5312
