Deserialization of Untrusted Data
Summary
| CVE | CVE-2022-25647 |
|---|---|
| State | PUBLISHED |
| Assigner | snyk |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-05-01 16:15:08 UTC |
| Updated | 2024-11-21 06:52:30 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.028730000 probability, percentile 0.865000000 (date 2026-05-28)
Problem Types: CWE-502 | Deserialization of Untrusted Data | CWE-502 CWE-502 Deserialization of Untrusted Data
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | [email protected] | Secondary | 7.7 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.7 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H |
| 2.0 | [email protected] | Primary | 5 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
NoneAvailability
PartialAV:N/AC:L/Au:N/C:N/I:N/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Debian | Debian Linux | 11.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Application | Gson | All | All | All | All | |
| Application | Netapp | Active Iq Unified Manager | - | All | All | All |
| Application | Netapp | Active Iq Unified Manager | - | All | All | All |
| Application | Netapp | Active Iq Unified Manager | - | All | All | All |
| Application | Oracle | Financial Services Crime And Compliance Management Studio | 8.0.8.2.0 | All | All | All |
| Application | Oracle | Financial Services Crime And Compliance Management Studio | 8.0.8.3.0 | All | All | All |
| Application | Oracle | Graalvm | 20.3.6 | All | All | All |
| Application | Oracle | Graalvm | 21.3.2 | All | All | All |
| Application | Oracle | Graalvm | 22.1.0 | All | All | All |
| Application | Oracle | Retail Order Broker | 18.0 | All | All | All |
| Application | Oracle | Retail Order Broker | 19.1 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | Com.google.code.gsongson | affected unspecified 2.8.9 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] [DLA 3100-1] libgoogle-gson-java security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Third Party Advisory |
| Prevent Java deserialization of internal classes by Marcono1234 · Pull Request #1991 · google/gson · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| CVE-2022-25647 Google Gson Vulnerability in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| Debian -- Security Information -- DSA-5227-1 libgoogle-gson-java | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | Third Party Advisory |
| Oracle Critical Patch Update Advisory - July 2022 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| [SECURITY] [DLA 3001-1] libgoogle-gson-java security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| Deserialization of Untrusted Data in com.google.code.gson:gson | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Third Party Advisory |
| Prevent Java deserialization of internal classes by Marcono1234 · Pull Request #1991 · google/gson · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Marcono1234 (en)
Legacy QID Mappings
- 179282 Debian Security Update for libgoogle-gson-java (DLA 3001-1)
- 180999 Debian Security Update for libgoogle-gson-java (DLA 3100-1)
- 181000 Debian Security Update for libgoogle-gson-java (DSA 5227-1)
- 184703 Debian Security Update for libgoogle-gson-java (CVE-2022-25647)
- 200185 Ubuntu Security Notification for Gson Vulnerability (USN-6692-1)
- 20270 Oracle Database 21c Critical Patch Update - October 2022
- 20271 Oracle Database 19c Critical Patch Update - October 2022
- 20272 Oracle Database 19c Critical OJVM Patch Update - October 2022
- 240589 Red Hat Update for JBoss Enterprise Application Platform 7.4.6 (RHSA-2022:5893)
- 240590 Red Hat Update for JBoss Enterprise Application Platform 7.4.6 (RHSA-2022:5892)
- 240591 Red Hat Update for red hat jboss enterprise application platform 7.4.6 (RHSA-2022:5894)
- 376941 F5 BIG-IP Gson Denial of Service (DoS) Vulnerability (K00994461)
- 377645 Oracle PeopleSoft Enterprise PeopleTools Product Multiple Vulnerabilities (CPUOCT2022)
- 378991 Atlassian Jira Service Management Server and Data Center Critical Severity Authentication Vulnerability (JSDSERVER-14007)
- 502455 Alpine Linux Security Update for openjdk15
- 502456 Alpine Linux Security Update for openjdk17
- 502468 Alpine Linux Security Update for openjdk11
- 502484 Alpine Linux Security Update for openjdk13
- 502578 Alpine Linux Security Update for openjdk11
- 752220 SUSE Enterprise Linux Security Update for google-gson (SUSE-SU-2022:2044-1)
- 87530 Oracle WebLogic Server Multiple Vulnerabilities (CPUJAN2023)