Skip to content
Fencer Vulns
high 8.1

CVE-2022-25845 in the critical feed json

Deserialization of Untrusted Data

published 2022-06-10 4 y ago modified 2026-07-08 4 mo ago also GHSA-pv7h-hx5h-mgfj , EUVD-2022-6120

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
18.7%
EPSS 18.7% chance of exploitation in 30 days, percentile 97%
public exploits
0
none known

Summary

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

Patch / fix

  • maven com.alibaba:fastjson 1.2.83
  • n/a com.alibaba:fastjson 1.2.83

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-25845 updated cvss 8.1

fastjson: autoType shutdown restriction bypass leads to deserialization

  • Red Hat Integration Camel K 1 fastjson Red Hat Integration Camel Quarkus 1 fastjson
    affected: workaround, no fix available
  • Red Hat Integration Data Virtualisation Operator fastjson
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Fuse 7.11
    fixed: vendor fix RHSA-2022:5532
  • Red Hat OpenShift Application Runtimes fastjson
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

18.74% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • ddosi.org https://www.ddosi.org/fastjson-poc/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven com.alibaba:fastjson
>=1.2.25, <1.2.83
1.2.83

Affected products

  • n/a com.alibaba:fastjson

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.