HIGH 8.1

CVE-2022-25845

Unsafe deserialization in com.alibaba:fastjson

Description

The package com.alibaba:fastjson before 1.2.83 is vulnerable to Deserialization of Untrusted Data by bypassing the default autoType shutdown restrictions, which is possible under certain conditions. Exploiting this vulnerability allows attacking remote servers. Workaround: If upgrading is not possible, you can enable safeMode.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.alibaba » fastjson
>= 1.2.25, < 1.2.83
1.2.83

Blast radius

1affected artifacts
119affected versions
13,350dependent artifacts (est.)
153,151dependent versions

67% of the dependent artifacts (9,021) still pull an affected version in their latest release.

DepthDependent versions
Direct
43,121
2 hops
48,827
3 hops
35,432
4 hops
16,436
5 hops
6,853
6 hops
2,482

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.