CVE-2022-25845
CRITICAL 9.8CVSS 3.1Unsafe deserialization in com.alibaba:fastjson
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.
- Published
- 10 Jun 2022
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-pv7h-hx5h-mgfjSNYK-JAVA-COMALIBABA-2859222
- Sources
- NVDJSONOSV GHSA-pv7h-hx5h-mgfjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | alibaba | fastjsoncpe:2.3:a:alibaba:fastjson:*:*:*:*:*:*:*:* |
< 1.2.83 | 1.2.83 |
| NVD | oracle | communications_cloud_native_core_unified_data_repositorycpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository:22.2.0:*:*:*:*:*:*:* |
= 22.2.0 | |
| OSV | Maven | com.alibaba:fastjson | >= 1.2.25, < 1.2.83 | 1.2.83 |
References
- https://github.com/alibaba/fastjson/commit/35db4adad70c32089542f23c272def1ad920a60d · Patch, Third Party Advisory, WEB
- https://github.com/alibaba/fastjson/commit/8f3410f81cbd437f7c459f8868445d50ad301f15 · Patch, Third Party Advisory, WEB
- https://github.com/alibaba/fastjson/releases/tag/1.2.83 · Release Notes, Third Party Advisory, WEB
- https://github.com/alibaba/fastjson/wiki/security_update_20220523 · Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-COMALIBABA-2859222 · Third Party Advisory, WEB
- https://www.ddosi.org/fastjson-poc/ · Exploit, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25845 · ADVISORY
- https://github.com/alibaba/fastjson · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 10 Jun 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jun 2022)