Skip to main content
Public proof of conceptFix available

CVE-2022-25845

A public proof of concept exists; no exploitation attested.

  • Published2022-06-10
  • Fixed in1.2.83
  • WeaknessCWE-502

Am I 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
  1. 2022-06-1020:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-03 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block 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
Alibaba fastjson
BranchAffectedFixed in
1.2< 1.2.831.2.83
1.2≥ 1.2.25, < 1.2.831.2.83
Oracle communications cloud native core unified data repository
BranchAffectedFixed in
22.2= 22.2.0no fix published

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

  • CVE-2022-25845 Red Hat Product Security1 product fixed · 3 known affected

    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

  • RHSA-2022:5532 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Fuse 7.11.0 release and security update

Full record on NVD

Fix

  1. Update Alibaba fastjson to 1.2.83
  2. 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…
  3. 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]
  4. No fix available, says the vendor Red Hat Product Security CVE-2022-25845 · 2 productsAffected
  5. No fix planned, says the vendor Red Hat Product Security CVE-2022-25845 · 1 productOut of support scope

Advisories and patches

Detection

read 2026-11-03 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
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

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?

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).

Is CVE-2022-25845 actively exploited?

Active exploitation of CVE-2022-25845 has not been confirmed. Its EPSS score was 18.7% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-25845?

CVE-2022-25845 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record