Vulnerability · Published Jun 10, 2022 · Assigned by snyk

CVE-2022-25845Deserialization of Untrusted Data

High 8.1

In plain English

A high-severity security flaw in com.alibaba:fastjson. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 18.7% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)18.7%top 2.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

The package com.alibaba:fastjson before 1.2.83 are 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](https://github.com/alibaba/fastjson/wiki/fastjson_safemode).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavencom.alibaba:fastjson1.2.83GHSA-pv7h-hx5h-mgfj

Affected products (as reported)

VendorProductVersions
n/a com.alibaba:fastjson unspecified – before 1.2.83

References