Deserialization of untrusted data in com.alibaba:fastjson
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.
Summary
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | com.alibaba:fastjson | before 1.2.83 | 1.2.83 | Patch available | CNA |
| — | com.alibaba:fastjson (Maven) | 1.2.25 to before 1.2.83 | 1.2.83 | Patch available | GHSA-pv7h-hx5h-mgfj |
- com.alibaba:fastjson Vendor— Affected before 1.2.83 Fixed in 1.2.83 Patch available CNA
- com.alibaba:fastjson (Maven) Vendor— Affected 1.2.25 to before 1.2.83 Fixed in 1.2.83 Patch available GHSA-pv7h-hx5h-mgfj
Remediation
- Fix · CNA com.alibaba:fastjson Fixed in 1.2.83
- Fix · GHSA-pv7h-hx5h-mgfj com.alibaba:fastjson (Maven) Fixed in 1.2.83 Advisory →
Red Hat 1 advisory
- RHSA-2022:5532 Released 2022-07-07 · Red Hat rating ImportantRed Hat Fuse 7.11.0 release and security update
- Red Hat Fuse 7.11
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Integration Camel K 1 | Affected | No fix yet |
| Red Hat Integration Camel Quarkus 1 | Affected | No fix yet |
| Red Hat Integration Data Virtualisation Operator | Affected | No fix planned: Out of support scope |
| Red Hat Fuse 7.11 | Fixed | RHSA-2022:5532 |
Not affected: 1 product
- Red Hat OpenShift Application Runtimes
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25845
- 2026-10-03 Alias added: GHSA-pv7h-hx5h-mgfj
References
Exploit 1
Patch 3
Advisory 3
Sources
- CVE-2022-25845 · CVE Program
- CVE-2022-25845 · NVD
- FIRST EPSS
- GHSA-pv7h-hx5h-mgfj · GitHub Advisory Database · CC BY 4.0
- CVE-2022-25845 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences