CVE-2022-25845Alibaba Fastjson
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Alibaba · Alibaba Fastjson We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 16.7% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Jun 10, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Fastjson.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.alibaba:fastjson |
≥ 1.2.25 < 1.2.83 |
1.2.83 |
— |
Per OSV / GitHub Advisories (GHSA-pv7h-hx5h-mgfj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| alibaba | fastjson | < 1.2.83 |
| oracle | communications_cloud_native_core_unified_data_repository | 22.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory
- snyk.io Third Party Advisory
- www.ddosi.org Exploit Third Party Advisory
- www.oracle.com Patch Third Party Advisory