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)

ArtifactAffected versionsFixed 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.

DepthDependent 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

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.