CVE-2022-25647
HIGH 7.5CVSS 3.1Deserialization of Untrusted Data in Gson
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.
- Published
- 1 May 2022
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-4jrv-ppp4-jm57SNYK-JAVA-COMGOOGLECODEGSON-1730327
- Sources
- NVDJSONOSV GHSA-4jrv-ppp4-jm57JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gsoncpe:2.3:a:google:gson:*:*:*:*:*:*:*:* |
>= 2.2.3, < 2.8.9 | 2.8.9 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* |
(no version) | |
| NVD | oracle | financial_services_crime_and_compliance_management_studiocpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.2.0:*:*:*:*:*:*:* |
= 8.0.8.2.0 | |
| NVD | oracle | financial_services_crime_and_compliance_management_studiocpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.3.0:*:*:*:*:*:*:* |
= 8.0.8.3.0 | |
| NVD | oracle | graalvmcpe:2.3:a:oracle:graalvm:20.3.6:*:*:*:enterprise:*:*:* |
= 20.3.6 | |
| NVD | oracle | graalvmcpe:2.3:a:oracle:graalvm:21.3.2:*:*:*:enterprise:*:*:* |
= 21.3.2 | |
| NVD | oracle | graalvmcpe:2.3:a:oracle:graalvm:22.1.0:*:*:*:enterprise:*:*:* |
= 22.1.0 | |
| NVD | oracle | retail_order_brokercpe:2.3:a:oracle:retail_order_broker:18.0:*:*:*:*:*:*:* |
= 18.0 | |
| NVD | oracle | retail_order_brokercpe:2.3:a:oracle:retail_order_broker:19.1:*:*:*:*:*:*:* |
= 19.1 | |
| OSV | Maven | com.google.code.gson:gson | < 2.8.9 | 2.8.9 |
References
- https://github.com/google/gson/pull/1991 · Patch, Third Party Advisory, WEB
- https://github.com/google/gson/pull/1991/commits · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/09/msg00009.html · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220901-0009/ · Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327 · Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5227 · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25647 · ADVISORY
- https://github.com/google/gson · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 May 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 May 2022)