CWE
502
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2022-25845: Deserialization of Untrusted Data

First published: Fri 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.

Credit: report@snyk.io report@snyk.io

Affected SoftwareAffected VersionHow to fix
redhat/fastjson<1.2.83
1.2.83
Alibaba Fastjson<1.2.83
Oracle Communications Cloud Native Core Unified Data Repository=22.2.0
maven/com.alibaba:fastjson>=1.2.25<1.2.83
1.2.83

Remedy

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]

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • 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.

  • What is the severity of CVE-2022-25845?

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

  • 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.

  • 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.

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203