{"id":"CVE-2022-25845","aliases":["EUVD-2022-6120","GHSA-pv7h-hx5h-mgfj","SNYK-JAVA-COMALIBABA-2859222"],"status":"published","title":"Deserialization of Untrusted Data","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).","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.18743,"percentile":0.97294,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-502"],"published":"2022-06-10T20:05:40Z","modified":"2026-10-28T10:27:38Z","exploits":[{"source":"pocgithub","id":"cuijiung/fastjson-CVE-2022-25845","title":"cuijiung/fastjson-CVE-2022-25845","date":"2025-07-11","url":"https://github.com/cuijiung/fastjson-CVE-2022-25845"},{"source":"pocgithub","id":"luelueking/CVE-2022-25845-In-Spring","title":"luelueking/CVE-2022-25845-In-Spring","date":"2024-11-07","url":"https://github.com/luelueking/CVE-2022-25845-In-Spring"},{"source":"pocgithub","id":"nerowander/CVE-2022-25845-exploit","title":"nerowander/CVE-2022-25845-exploit","date":"2023-03-01","url":"https://github.com/nerowander/CVE-2022-25845-exploit"},{"source":"pocgithub","id":"ph0ebus/CVE-2022-25845-In-Spring","title":"ph0ebus/CVE-2022-25845-In-Spring","date":"2024-11-26","url":"https://github.com/ph0ebus/CVE-2022-25845-In-Spring"},{"source":"pocgithub","id":"scabench/fastjson-tp1fn1","title":"scabench/fastjson-tp1fn1","date":"2024-01-28","url":"https://github.com/scabench/fastjson-tp1fn1"}],"fixes":[{"ecosystem":"Maven","package":"com.alibaba:fastjson","fixed_in":["1.2.83"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.alibaba:fastjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.25"},{"fixed":"1.2.83"}]}]},{"source":"osv","ecosystem":"Maven","package":"com.alibaba:fastjson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.25"},{"fixed":"1.2.83"}]}],"versions":["1.2.25","1.2.25.sec10","1.2.26","1.2.27","1.2.27.sec06","1.2.27.sec09","1.2.27.sec10","1.2.28","1.2.28.odps","1.2.29","1.2.29.sec04","1.2.29.sec06","1.2.29.sec09","1.2.29.sec10","1.2.30","1.2.31","1.2.31.sec10","1.2.31_noneautotype","1.2.32","1.2.33","1.2.34","1.2.35","1.2.36","1.2.37","1.2.38","1.2.39","1.2.40","1.2.41","1.2.42","1.2.43","1.2.44","1.2.45","1.2.46","1.2.47","1.2.48","1.2.48.sec06","1.2.48.sec09","1.2.48.sec09_noneautotype","1.2.48.sec10","1.2.48_noneautotype","1.2.49","1.2.50","1.2.50.sec10","1.2.50_noneautotype","1.2.51","1.2.51.sec06","1.2.51.sec10","1.2.52","1.2.52.sec06","1.2.52.sec09_noneautotype","1.2.52.sec10","1.2.53","1.2.54","1.2.54.sec06","1.2.54.sec10","1.2.54_noneautotype","1.2.55","1.2.55.sec10","1.2.56","1.2.56.sec06","1.2.57","1.2.57.sec06","1.2.57.sec10","1.2.57_noneautotype","1.2.58","1.2.58.sec06","1.2.58.sec09","1.2.58.sec10","1.2.59","1.2.60","1.2.60.sec09","1.2.60.sec09_noneautotype","1.2.60.sec10","1.2.60_noneautotype","1.2.61","1.2.61.sec10","1.2.62","1.2.62_noneautotype","1.2.63_noneautotype","1.2.66","1.2.67","1.2.67.sec10","1.2.67_noneautotype","1.2.67_noneautotype2","1.2.68","1.2.68.sec10","1.2.69","1.2.69_noneautotype","1.2.69_sec11","1.2.69_sec12","1.2.70","1.2.71","1.2.71_noneautotype","1.2.72","1.2.72_noneautotype","1.2.73","1.2.74","1.2.75","1.2.75_noneautotype","1.2.76","1.2.77","1.2.78","1.2.79","1.2.80"]}],"products":[{"vendor":"alibaba","product":"fastjson"},{"vendor":"oracle","product":"communications_cloud_native_core_unified_data_repository"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-COMALIBABA-2859222","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.ddosi.org/fastjson-poc/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/alibaba/fastjson/commit/8f3410f81cbd437f7c459f8868445d50ad301f15","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/alibaba/fastjson/commit/35db4adad70c32089542f23c272def1ad920a60d","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/alibaba/fastjson/wiki/security_update_20220523","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/alibaba/fastjson/releases/tag/1.2.83","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25845","tags":["advisory"]},{"url":"https://www.ddosi.org/fastjson-poc","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pv7h-hx5h-mgfj"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25845.json","tags":["advisory"]},{"url":"https://github.com/alibaba/fastjson","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25845","title":"Deserialization of Untrusted Data","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).","status":"published","published":"2022-06-10T20:05:40.814Z","modified":"2024-09-16T23:36:49.6Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:34:28.374916Z"}],"euvd":[{"id":"EUVD-2022-6120","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).","status":"published","published":"2022-06-10T20:05:40Z","modified":"2024-09-16T23:36:49Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high"}],"updated_at":"2026-11-03T00:54:48.722382Z"}],"ghsa":[{"id":"GHSA-pv7h-hx5h-mgfj","title":"Unsafe deserialization in com.alibaba:fastjson","description":"The package com.alibaba:fastjson before 1.2.83 is 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).","status":"published","published":"2022-06-11T00:00:17Z","modified":"2024-05-15T06:28:36Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:37:49.48194Z"}],"nvd":[{"id":"CVE-2022-25845","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).","status":"published","published":"2022-06-10T20:15:08.117Z","modified":"2026-06-17T04:34:22.803Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:07:21.62951Z"}],"osv":[{"id":"CVE-2022-25845","title":"Deserialization of Untrusted Data","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).","status":"published","published":"2022-06-10T20:05:40.814Z","modified":"2026-10-28T10:27:38.355060397Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high"}],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"GHSA-pv7h-hx5h-mgfj","title":"Unsafe deserialization in com.alibaba:fastjson","description":"The package com.alibaba:fastjson before 1.2.83 is 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).","status":"published","published":"2022-06-11T00:00:17Z","modified":"2026-07-08T06:50:00.981496469Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T15:46:53.700556Z"}]}}
