{"id":"CVE-2022-25845","published":"2022-06-10T20:05:40Z","modified":"2024-09-16T23:36:49Z","title":"Deserialization of Untrusted Data","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.18743,"percentile":0.97344,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-COMALIBABA-2859222","tags":["x_refsource_MISC"]},{"url":"https://www.ddosi.org/fastjson-poc/","tags":["x_refsource_MISC"]},{"url":"https://github.com/alibaba/fastjson/commit/8f3410f81cbd437f7c459f8868445d50ad301f15","tags":["x_refsource_MISC"]},{"url":"https://github.com/alibaba/fastjson/commit/35db4adad70c32089542f23c272def1ad920a60d","tags":["x_refsource_MISC"]},{"url":"https://github.com/alibaba/fastjson/wiki/security_update_20220523","tags":["x_refsource_MISC"]},{"url":"https://github.com/alibaba/fastjson/releases/tag/1.2.83","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":30.1,"factors":[{"name":"EPSS percentile","points":19.47},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"pocGithub":{"count":4,"skipped":1,"earliest":"2023-03-01","earliestUrl":"https://github.com/nerowander/CVE-2022-25845-exploit","repos":[{"name":"luelueking/CVE-2022-25845-In-Spring","url":"https://github.com/luelueking/CVE-2022-25845-In-Spring","stars":109,"created":"2024-11-07"},{"name":"ph0ebus/CVE-2022-25845-In-Spring","url":"https://github.com/ph0ebus/CVE-2022-25845-In-Spring","stars":7,"created":"2024-11-26"},{"name":"nerowander/CVE-2022-25845-exploit","url":"https://github.com/nerowander/CVE-2022-25845-exploit","stars":1,"created":"2023-03-01"},{"name":"scabench/fastjson-tp1fn1","url":"https://github.com/scabench/fastjson-tp1fn1","stars":0,"created":"2024-01-28"}]},"first":{"date":"2023-03-01","source":"PoC-in-GitHub","url":"https://github.com/nerowander/CVE-2022-25845-exploit"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"com.alibaba:fastjson","versions":[">= unspecified, < 1.2.83"]}],"affected":[{"ecosystem":"Maven","package":"com.alibaba:fastjson","vulnerableRanges":[">=1.2.25, <1.2.83"],"patched":["1.2.83"],"from":["GHSA-pv7h-hx5h-mgfj"],"provenance":"source"}],"summary":{"text":"The flaw is a deserialization of untrusted data weakness in the fastjson package (com.alibaba:fastjson) prior to version 1.2.83, where the default autoType shutdown restrictions can be bypassed under certain conditions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:34:39Z"},"euvd":{"id":"EUVD-2022-6120","exploited":false,"provenance":"source"}}