Skip to content

Unsafe deserialization in com.alibaba:fastjson

High severity GitHub Reviewed Published Jun 11, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

maven com.alibaba:fastjson (Maven)

Affected versions

< 1.2.83

Patched versions

1.2.83

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.

References

Published by the National Vulnerability Database Jun 10, 2022
Published to the GitHub Advisory Database Jun 11, 2022
Reviewed Jun 17, 2022
Last updated Jan 27, 2023

Severity

High
8.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2022-25845

GHSA ID

GHSA-pv7h-hx5h-mgfj

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.