{"id":"CVE-2022-25647","state":"PUBLISHED","title":"Deserialization of Untrusted Data","description":"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.","publishedAt":"2022-05-01T15:30:29.223Z","updatedAt":"2026-05-27T14:03:51.561Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H","source":"snyk"},"assigner":"snyk","products":["n/a com.google.code.gson:gson"],"affected":[{"vendor":"n/a","product":"com.google.code.gson:gson","versions":[{"version":"unspecified","status":"affected","lessThan":"2.8.9","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327","https://github.com/google/gson/pull/1991","https://github.com/google/gson/pull/1991/commits","https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html","https://www.oracle.com/security-alerts/cpujul2022.html","https://security.netapp.com/advisory/ntap-20220901-0009/","https://lists.debian.org/debian-lts-announce/2022/09/msg00009.html","https://www.debian.org/security/2022/dsa-5227"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T19:49:46.971Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/25xxx/CVE-2022-25647.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-25647","state":"PUBLISHED","datePublished":"2022-05-01T15:30:29.223Z","dateUpdated":"2026-05-27T14:03:51.561Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T00:00:00.000Z"},"containers":{"cna":{"title":"Deserialization of Untrusted Data","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"com.google.code.gson:gson","versions":[{"version":"unspecified","status":"affected","lessThan":"2.8.9","versionType":"custom"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327","tags":["x_refsource_MISC"]},{"url":"https://github.com/google/gson/pull/1991","tags":["x_refsource_MISC"]},{"url":"https://github.com/google/gson/pull/1991/commits","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html","name":"[debian-lts-announce] 20220513 [SECURITY] [DLA 3001-1] libgoogle-gson-java security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220901-0009/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00009.html","name":"[debian-lts-announce] 20220907 [SECURITY] [DLA 3100-1] libgoogle-gson-java security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2022/dsa-5227","name":"DSA-5227","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Deserialization of Untrusted Data","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2022-09-07T20:06:16.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Marcono1234"}],"datePublic":"2022-05-01T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-05-01T15:25:25.581039Z","ID":"CVE-2022-25647","STATE":"PUBLIC","TITLE":"Deserialization of Untrusted Data"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"com.google.code.gson:gson","version":{"version_data":[{"version_affected":"<","version_value":"2.8.9"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Marcono1234"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Deserialization of Untrusted Data"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327"},{"name":"https://github.com/google/gson/pull/1991","refsource":"MISC","url":"https://github.com/google/gson/pull/1991"},{"name":"https://github.com/google/gson/pull/1991/commits","refsource":"MISC","url":"https://github.com/google/gson/pull/1991/commits"},{"name":"[debian-lts-announce] 20220513 [SECURITY] [DLA 3001-1] libgoogle-gson-java security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html"},{"name":"https://www.oracle.com/security-alerts/cpujul2022.html","refsource":"MISC","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"name":"https://security.netapp.com/advisory/ntap-20220901-0009/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220901-0009/"},{"name":"[debian-lts-announce] 20220907 [SECURITY] [DLA 3100-1] libgoogle-gson-java security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00009.html"},{"name":"DSA-5227","refsource":"DEBIAN","url":"https://www.debian.org/security/2022/dsa-5227"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/google/gson/pull/1991","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/google/gson/pull/1991/commits","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html","name":"[debian-lts-announce] 20220513 [SECURITY] [DLA 3001-1] libgoogle-gson-java security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220901-0009/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00009.html","name":"[debian-lts-announce] 20220907 [SECURITY] [DLA 3100-1] libgoogle-gson-java security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5227","name":"DSA-5227","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:42:50.328Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-22T13:25:33.911049Z","id":"CVE-2022-25647","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","type":"CWE","lang":"en","description":"CWE-502 Deserialization of Untrusted Data"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-27T14:03:51.561Z"}}]}}}