HIGH 7.7
CVE-2022-25647
Deserialization of Untrusted Data in Gson
Description
The package com.google.code.gson:gson before 2.8.9 is vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may lead to denial of service attacks.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.google.code.gson » gson | < 2.8.9 | 2.8.9 |
Blast radius
1affected artifacts
76affected versions
90,474dependent artifacts (est.)
4,784,980dependent versions
66% of the dependent artifacts (59,911) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 771,225 |
| 2 hops | 1,676,205 |
| 3 hops | 1,141,470 |
| 4 hops | 751,384 |
| 5 hops | 312,891 |
| 6 hops | 131,805 |
Most used dependents
- com.mojang » datafixerupper14,418 usages
- com.alibaba » fastjson7,978 usages
- org.reflections » reflections5,225 usages
- com.mycila » license-maven-plugin4,966 usages
- com.squareup.retrofit2 » converter-gson4,839 usages
- net.fabricmc » fabric-loader4,206 usages
- io.netty » netty-all3,584 usages
- org.apache.hadoop » hadoop-common3,482 usages
- io.grpc » grpc-stub3,311 usages
- org.codehaus.mojo » license-maven-plugin3,293 usages
- com.github.spotbugs » spotbugs-maven-plugin3,264 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- org.clojure » clojurescript3,073 usages
- io.grpc » grpc-protobuf3,009 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-25647
- Webhttps://github.com/google/gson/pull/1991
- Webhttps://github.com/google/gson/pull/1991/commits
- Packagehttps://github.com/google/gson
- Webhttps://lists.debian.org/debian-lts-announce/2022/05/msg00015.html
- Webhttps://lists.debian.org/debian-lts-announce/2022/09/msg00009.html
- Webhttps://security.netapp.com/advisory/ntap-20220901-0009
- Webhttps://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327
- Webhttps://www.debian.org/security/2022/dsa-5227
- Webhttps://www.oracle.com/security-alerts/cpujul2022.html
