CVE-2022-25845: Deserialization of Untrusted Data

Published Jun 10, 2022
·
Updated

A flaw was found in com.alibaba:fastjson, a fast JSON parser/generator for Java. Affected versions of this package are vulnerable to Deserialization of Untrusted Data by bypassing the default autoType shutdown restrictions, which is possible under certain conditions.

Other sources

com.alibaba:fastjson is a fast JSON parser/generator for Java. Affected versions of this package 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.

Red Hat

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.

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.

GitHub

Affected Software

4 affected componentsFixes available
redhat/fastjson<1.2.83
1.2.83
maven/com.alibaba:fastjson>=1.2.25<1.2.83
1.2.83
Alibaba fastjson<1.2.83
Oracle Communications Cloud Native Core Unified Data Repository=22.2.0

Remediation

Information

Users who can not upgrade to the fixed version may enable safeMode; this completely disables the autoType function and eliminates the vulnerability risk. [https://github.com/alibaba/fastjson/wiki/fastjson_safemode]

Event History

Jun 10, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
DescriptionSeverityWeakness
Jun 11, 2022
Advisory Published
via GitHub·12:00 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-25845?

CVE-2022-25845 is a vulnerability in the com.alibaba:fastjson package that allows for the deserialization of untrusted data, potentially leading to remote server attacks.

2

What is the severity of CVE-2022-25845?

CVE-2022-25845 has a severity rating of 9.8, which is considered critical.

3

How does CVE-2022-25845 affect the com.alibaba:fastjson package?

CVE-2022-25845 affects com.alibaba:fastjson versions before 1.2.83 and allows for the bypassing of default autoType shutdown restrictions during deserialization.

4

What is the workaround for CVE-2022-25845?

The recommended workaround for CVE-2022-25845 is to upgrade to version 1.2.83 of the com.alibaba:fastjson package.

5

Where can I find more information about CVE-2022-25845?

More information about CVE-2022-25845 can be found at the following references: [Reference 1](https://access.redhat.com/errata/RHSA-2022:5532), [Reference 2](https://access.redhat.com/security/cve/cve-2022-25845), [Reference 3](https://bugzilla.redhat.com/show_bug.cgi?id=2100654).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203