Back
CVE-2022-25845
Deserialization of Untrusted Data
High8.1EPSS 18.7%
- Published
- Updated
- Reserved
- Assigned by
- snyk
Description
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).
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 18.7% · top 2.7% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Weakness
- Deserialization of Untrusted Data
- CWE-502 (opens in a new tab)All about CWE-502 and its CVEs
Affected products
com.alibaba:fastjson
- affected unspecified – < 1.2.83
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavencom.alibaba:fastjsonGHSA-pv7h-hx5h-mgfj (opens in a new tab)
References (7)
- https://snyk.io/vuln/SNYK-JAVA-COMALIBABA-2859222 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.ddosi.org/fastjson-poc/ (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/alibaba/fastjson/commit/8f3410f81cbd437f7c459f8868445d50ad301f15 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/alibaba/fastjson/commit/35db4adad70c32089542f23c272def1ad920a60d (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/alibaba/fastjson/wiki/security_update_20220523 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/alibaba/fastjson/releases/tag/1.2.83 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pv7h-hx5h-mgfj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-25845)Record last updated .