CVE-2022-25845
A public proof of concept exists; no exploitation attested.
- Published2022-06-10
- Fixed in1.2.83
- WeaknessCWE-502
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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).
Timeline
dates in UTC- 2022-06-1020:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-25845?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-25845?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.2 | < 1.2.83 | 1.2.83 | NVD |
| 1.2 | ≥ 1.2.25, < 1.2.83 | 1.2.83 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 22.2 | = 22.2.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
fastjson: autoType shutdown restriction bypass leads to deserialization
fastjson as a component of Red Hat Integration Camel K 1 · fastjson as a component of Red Hat Integration Camel Quarkus 1 · fastjson as a component of Red Hat Integration Data Virtualisation Operator
Red Hat Security Advisory: Red Hat Fuse 7.11.0 release and security update
Fix
- Update Alibaba fastjson to 1.2.83
- Vendor fix Red Hat Product Security RHSA-2022:5532 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Installation instructions are available from the Fuse 7.11.0 product documentation page: https://access.redhat.com/documentation/en-us/red_ha…
- Workaround from the vendor Red Hat Product Security RHSA-2022:5532 · 1 productUsers who can not upgrade to the fixed version may enable safeMode; this completely disables the autoType function and eliminates the vulnerability risk. [https://github.com/alibaba/fastjson/wiki/fastjson_safemode]
- No fix available, says the vendor Red Hat Product Security CVE-2022-25845 · 2 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2022-25845 · 1 productOut of support scope
Advisories and patches
- github.comPatch
- github.comPatch
- github.comRelease Notes
- www.oracle.comPatch
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 5 repositories, unverifiednerowander/CVE-2022-25845-exploitscabench/fastjson-tp1fn1luelueking/CVE-2022-25845-In-Springph0ebus/CVE-2022-25845-In-Springcuijiung/fastjson-CVE-2022-25845 PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- CNACVSS 3.18.1known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- NVDweakness (CWE)CWE-502read 2026-10-23
- FIRST EPSSEPSS score18.7 %read 2026-11-03
- PoC-in-GitHubproof of concept5read 2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2022-06-17
Identifiers
- EUVD-2022-6120same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-pv7h-hx5h-mgfjsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2022-06-10
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-pv7h-hx5h-mgfj
Frequently asked questions
What is CVE-2022-25845?
Is CVE-2022-25845 actively exploited?
What is the CVSS score for CVE-2022-25845?
Running fastjson? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-pv7h-hx5h-mgfj
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0