Deserialization in Alibaba Fastjson
CVE-2022-25845
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).
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.187 (97.2th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.187 · newest: 0.187 · change: 0.000
Affected products
- Alibaba Fastjson
- Oracle Communications Cloud Native Core Unified Data Repository — versions 22.2.0
- Com.alibaba:fastjson — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JAVA-COMALIBABA-2859222 (Third Party Advisory)
- www.ddosi.org/fastjson-poc/ (Exploit, Third Party Advisory)
- github.com/alibaba/fastjson/commit/8f3410f81cbd437f7c459f8868445d50ad301f15 (Patch, Third Party Advisory)
- github.com/alibaba/fastjson/commit/35db4adad70c32089542f23c272def1ad920a60d (Patch, Third Party Advisory)
- github.com/alibaba/fastjson/wiki/security_update_20220523 (Third Party Advisory)
- github.com/alibaba/fastjson/releases/tag/1.2.83 (Third Party Advisory, Release Notes)
- www.oracle.com/security-alerts/cpujul2022.html (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-25845?
- CVE-2022-25845 is a high-severity vulnerability in Alibaba Fastjson, classified under Deserialization of Untrusted Data. CVSS score: 8.1/10. Published 2022-06-10.
- How severe is CVE-2022-25845?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2022-25845 known to be exploited?
- 42 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.