CVE-2022-25647Google Gson
High 7.5 No auth needed
Follow: this CVE · Google · Google Gson We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- May 1, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Gson.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.google.code.gson:gson |
< 2.8.9 |
2.8.9 |
— |
Per OSV / GitHub Advisories (GHSA-4jrv-ppp4-jm57). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gson | ≥ 2.2.3 < 2.8.9 | |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| netapp | active_iq_unified_manager | all |
| netapp | active_iq_unified_manager | all |
| netapp | active_iq_unified_manager | all |
| oracle | financial_services_crime_and_compliance_management_studio | 8.0.8.2.0 |
| oracle | financial_services_crime_and_compliance_management_studio | 8.0.8.3.0 |
| oracle | graalvm | 20.3.6 |
| oracle | graalvm | 21.3.2 |
| oracle | graalvm | 22.1.0 |
| oracle | retail_order_broker | 18.0 |
| oracle | retail_order_broker | 19.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Third Party Advisory
- security.netapp.com Third Party Advisory
- snyk.io Third Party Advisory
- www.debian.org Third Party Advisory
- www.oracle.com Patch Third Party Advisory