{"id":"CVE-2022-25647","summary":"Deserialization of Untrusted Data","details":"The package com.google.code.gson:gson before 2.8.9 are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may lead to DoS attacks.","aliases":["GHSA-4jrv-ppp4-jm57","SNYK-JAVA-COMGOOGLECODEGSON-1730327"],"modified":"2026-08-12T03:30:13.052873290Z","published":"2022-05-01T15:30:29.223Z","related":["SUSE-SU-2022:2044-1","SUSE-SU-2022:3706-1","openSUSE-SU-2024:12040-1"],"database_specific":{"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25647.json"},"references":[{"type":"WEB","url":"https://github.com/google/gson/pull/1991/commits"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25647.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25647"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220901-0009/"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5227"},{"type":"FIX","url":"https://github.com/google/gson/pull/1991"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00009.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/google/gson","events":[{"introduced":"d260faffee51cb3b5d04a2a6fc09f079e2ae990f"},{"fixed":"6a368d89da37917be7714c3072b8378f4120110a"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:google:gson:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.8.9"},{"introduced":"2.2.3"}]}},{"type":"GIT","repo":"https://github.com/graalvm/graalvm-ce-builds","events":[{"introduced":"283b613ae93663c6d5d66ef63e43e9dbc8bfffd8"},{"last_affected":"3f79371c56c7b91e624de14e3ae096d273f5d020"}],"database_specific":{"extracted_events":[{"introduced":"20.3.6"},{"last_affected":"20.3.6"},{"introduced":"21.3.2"},{"last_affected":"21.3.2"},{"introduced":"22.1.0"},{"last_affected":"22.1.0"}],"source":"CPE_STRING","cpe":["cpe:2.3:a:oracle:graalvm:20.3.6:*:*:*:enterprise:*:*:*","cpe:2.3:a:oracle:graalvm:21.3.2:*:*:*:enterprise:*:*:*","cpe:2.3:a:oracle:graalvm:22.1.0:*:*:*:enterprise:*:*:*"]}}],"versions":["20.3.6","21.3.2","22.1.0","vm-22.1.0","vm-21.3.2","vm-20.3.6"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-25647.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H"}]}