{"id":"CVE-2022-25845","aliases":["CVE-2022-25845","GHSA-pv7h-hx5h-mgfj","SNYK-JAVA-COMALIBABA-2859222"],"related":[],"kind":"vulnerability","state":"published","title":"Deserialization of Untrusted Data","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).","summarySource":"cvelist","descriptions":[{"lang":"en","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).","source":"cvelist"},{"lang":"en","text":"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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete com.alibaba:fastjson versiones anteriores a 1.2.83, es vulnerable a una Deserialización de Datos No Confiables al omitir las restricciones de cierre de autoType por defecto, lo cual es posible bajo determinadas condiciones. La explotación de esta vulnerabilidad permite atacar servidores remotos. Mitigación: Si la actualización no es posible, puede habilitar [safeMode](https://github.com/alibaba/fastjson/wiki/fastjson_safemode)","source":"nvd"}],"published":"2022-06-10T20:05:40.814Z","modified":"2026-07-08T06:50:00.981Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.2.83","status":"affected"}],"product":"com.alibaba:fastjson","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.2.25","status":"affected","fixed":"1.2.83"}],"ecosystem":"Maven","package":"com.alibaba:fastjson","purl":"pkg:maven/com.alibaba/fastjson","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.2.83"}],"vendor":"alibaba","product":"fastjson","cpe":"cpe:2.3:a:alibaba:fastjson:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"22.2.0"}],"vendor":"oracle","product":"communications_cloud_native_core_unified_data_repository","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository:22.2.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-COMALIBABA-2859222","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.ddosi.org/fastjson-poc/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/alibaba/fastjson/commit/8f3410f81cbd437f7c459f8868445d50ad301f15","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/alibaba/fastjson/commit/35db4adad70c32089542f23c272def1ad920a60d","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/alibaba/fastjson/wiki/security_update_20220523","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/alibaba/fastjson/releases/tag/1.2.83","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25845","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/alibaba/fastjson","tags":["package"],"sources":["ghsa"]},{"url":"https://www.ddosi.org/fastjson-poc","tags":["web"],"sources":["ghsa"]}],"credits":["Unknown"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25845","url":"https://www.cve.org/CVERecord?id=CVE-2022-25845","licence":"CVE Terms of Use","modified":"2024-09-16T23:36:49.600Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pv7h-hx5h-mgfj","url":"https://github.com/advisories/GHSA-pv7h-hx5h-mgfj","licence":"CC-BY-4.0","modified":"2026-07-08T06:50:00.981Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25845","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25845","licence":"Public domain","modified":"2026-06-17T04:34:22.803Z"}],"updatedAt":"2026-11-25T22:58:12.217Z","epss":{"score":0.18743,"percentile":0.97344,"date":"2026-12-02T12:00:21.000Z"}}