SecurityContext

CVE-2022-25845: Alibaba fastjson - Insecure Deserialization

  • Cve: CVE-2022-25845
  • Name: Alibaba fastjson - Insecure Deserialization
  • 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).
  • Impact: Remote attackers can execute arbitrary code via deserialization, potentially leading to full system compromise.
  • Remediation: Upgrade to version 1.2.83 or later, or enable safeMode as a workaround.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.18743
  • Epss percentile: 0.97346
  • Assignee: [email protected]
  • Published at: 2022-06-10T20:15:08Z
  • Age in days: 1628
  • Modified at: 2026-06-17T04:34:22Z
  • Patch available: yes
  • Public exploits total: 6
  • References total: 7
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25845
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-502Deserialization of Untrusted Data

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://www.ddosi.org/fastjson-poc/nvd2022-06-10
https://github.com/cuijiung/fastjson-CVE-2022-25845poc-in-github2025-07-11
https://github.com/ph0ebus/CVE-2022-25845-In-Springpoc-in-github2024-11-26
https://github.com/luelueking/CVE-2022-25845-In-Springpoc-in-github2024-11-07
https://github.com/scabench/fastjson-tp1fn1poc-in-github2024-01-28

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/alibaba/fastjson/commit/35db4adad70c32089542f23c272def1ad920a60dPatch, Third Party Advisory
https://github.com/alibaba/fastjson/commit/8f3410f81cbd437f7c459f8868445d50ad301f15Patch, Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
https://www.ddosi.org/fastjson-poc/Exploit, Third Party Advisory
https://github.com/alibaba/fastjson/releases/tag/1.2.83Release Notes, Third Party Advisory
https://github.com/alibaba/fastjson/wiki/security_update_20220523Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-COMALIBABA-2859222Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
alibaba:fastjson< 1.2.83nonvd/v1/products/alibaba/fastjson
oracle:communications_cloud_native_core_unified_data_repository= 22.2.0nonvd/v1/products/oracle/communications_cloud_native_core_unified_data_repository

Projects

RepositoryLink kindsIndexedUrl
alibaba/fastjsoncommit, package, releasesyes/v1/repositories/alibaba/fastjson

Index

  • Repositories: 160
  • Repositories high signal: 89
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 6
  • Public exploit first date: 2022-06-10
  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts