CVE-2022-25647 in the critical feed json
Deserialization of Untrusted Data
published 2022-05-01 4 y ago modified 2026-09-10 1 mo ago also GHSA-4jrv-ppp4-jm57 , EUVD-2022-2402
- cvss
- 7.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.2%
- EPSS 12.2% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.google.code.gson:gson 2.8.9
- n/a com.google.code.gson:gson 2.8.9
- libgoogle-gson-java Debian 14, Debian 13, Debian 12 2.9.0-1
debian advisories DEBIAN-CVE-2022-25647
- libgoogle-gson-java Ubuntu 20.04 LTS 2.8.5-3+deb10u1build0.20.04.1
- libgoogle-gson-java Ubuntu 22.04 LTS 2.8.8-1ubuntu0.1
- libgoogle-gson-java Ubuntu Pro 16.04 LTS 2.4-1ubuntu0.1~esm1
- libgoogle-gson-java Ubuntu Pro 18.04 LTS 2.8.5-3~18.04.1~esm1
ubuntu advisories UBUNTU-CVE-2022-25647
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- eap7-gson jboss enterprise application platform 7.4, jboss enterprise application platform eus 7.3 2.8.9-1.redhat_00001.1.el7eap
- jenkins ocp tools 4.13 2.387.3.1684911776-3.el8
- jenkins-2-plugins ocp tools 4.13 4.13.1684911916-1.el8
- eap7 jboss enterprise application platform 7.4 1-18.el9eap
- eap7-ecj jboss enterprise application platform 7.4 1:3.26.0-1.redhat_00002.1.el9eap
- eap7-vdx jboss enterprise application platform 7.4 1.1.6-2.redhat_1.1.el9eap
- eap7-xom jboss enterprise application platform 7.4 1.3.7-1.redhat_00001.1.el9eap
- eap7-avro jboss enterprise application platform 7.4 1.7.6-7.1.redhat_2.1.el9eap
red hat advisories RHSA-2025:4437RHSA-2025:4226RHSA-2023:3299RHSA-2022:5894RHSA-2022:5893RHSA-2022:5892
- google-gson Manager Server Module 4.1 2.8.9-150200.3.7.1
- google-gson SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +12 more 2.8.9-150200.3.6.3
suse advisories SUSE-SU-2022:3706-1SUSE-SU-2022:2044-1
- openjdk11 Alpine 3.15 11.0.17_p8-r0
- openjdk11 Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 11.0.16_p8-r0
- openjdk13 Alpine 3.18, Alpine 3.17, Alpine 3.16 13.0.12_p4-r0
- openjdk15 Alpine 3.18, Alpine 3.17, Alpine 3.16 15.0.8_p4-r0
- openjdk17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 17.0.4_p8-r0
alpine advisories ALPINE-CVE-2022-25647
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/google/gson#1991 pull request
- github.com/google/gson#1991 pull request
- oracle.com/security-alerts/cpujul2022.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-25647 updated cvss 7.5
com.google.code.gson-gson: Deserialization of Untrusted Data in com.google.code.gson-gson
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8affected: no fix planned “Will not fix”
-
Red Hat build of Quarkus com.google.code.gson-gson com.google.code.gson-gsonaffected: no fix available
-
Red Hat Fuse 7 com.google.code.gson-gson com.google.code.gson-gson Red Hat Integration Camel K 1 com.google.code.gson-gson com.google.code.gson-gson Red Hat Integration Camel Quarkus 1 com.google.code.gson-gson com.google.code.gson-gsonaffected: no fix planned “Will not fix”
-
Red Hat Integration Data Virtualisation Operator com.google.code.gson-gson com.google.code.gson-gson Red Hat Integration Service Registry com.google.code.gson-gson com.google.code.gson-gson Red Hat JBoss Data Grid 7 com.google.code.gson-gson com.google.code.gson-gson Red Hat JBoss Enterprise Application Platform 6 com.google.code.gson-gson com.google.code.gson-gsonaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 jenkins-2-pluginsaffected: no fix planned “Will not fix”
-
Red Hat Single Sign-On 7 com.google.code.gson-gson com.google.code.gson-gson Red Hat support for Spring Boot com.google.code.gson-gson com.google.code.gson-gsonaffected: no fix available
-
Red Hat Cryostat 2 on RHEL 8 cryostat-tech-preview/cryostat-rhel8 2.1.1-1, cryostat-tech-preview/jfr-datasource-rhel8 2.1.0-2, cryostat-tech-preview/cryostat-reports-rhel8 1.0.0-2, cryostat-tech-preview/cryostat-rhel8-operator 2.1.1-1, cryostat-tech-preview/cryostat-operator-bundle 2.1.1-2fixed: vendor fix RHSA-2022:4985
-
Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins 4.13.1684911916-1.el8fixed: vendor fix RHSA-2023:3299
show 11 moreshow fewer
-
Red Hat AMQ Streams 2.2.0fixed: vendor fix RHSA-2022:6819
-
Red Hat build of Eclipse Vert.x 4.2.7fixed: vendor fix RHSA-2022:5029
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-gson 2.8.9-1.redhat_00001.1.el7eapfixed: vendor fix RHSA-2022:5892
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-gson 2.8.9-1.redhat_00001.1.el8eapfixed: vendor fix RHSA-2022:5893
-
Red Hat JBoss EAP 7.4 for RHEL 9 eap7 1-18.el9eap, eap7-runtime 1-18.el9eap, eap7-vdx 1.1.6-2.redhat_1.1.el9eap, eap7-antlr 2.7.7-54.redhat_7.1.el9eap, eap7-avro 1.7.6-7.1.redhat_2.1.el9eap, eap7-cal10n 0.8.1-6.redhat_1.1.el9eap, +414 morefixed: vendor fix RHSA-2022:5894
-
Red Hat JBoss Enterprise Application Platform gson 2.8.9.redhat-00001fixed: vendor fix RHSA-2022:5928
-
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 Server eap7-jsoup 1.14.2-1.redhat_00002.1.ep7.el7, eap7-wildfly 7.1.10-2.GA_redhat_00002.1.ep7.el7, eap7-woodstox-core 5.0.3-2.redhat_00002.1.ep7.el7, eap7-xml-security 2.0.10-2.redhat_00002.1.ep7.el7, eap7-undertow 1.4.18-14.SP13_redhat_00001.1.ep7.el7, eap7-artemis-native 1.5.5.016-1.redhat_00001.1.ep7.el7, +19 morefixed: vendor fix RHSA-2025:4226
-
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server eap7-gson 2.8.9-1.redhat_00001.1.el7eap, eap7-wildfly 7.3.13-4.GA_redhat_00002.1.el7eap, eap7-woodstox-core 6.4.0-1.redhat_00001.1.el7eap, eap7-activemq-artemis 2.9.0-10.redhat_00021.1.el7eap, eap7-hal-console 3.2.18-1.Final_redhat_00001.1.el7eap, eap7-wildfly-modules 7.3.13-4.GA_redhat_00002.1.el7eap, +41 morefixed: vendor fix RHSA-2025:4437
-
Red Hat RHINT Service Registry 2.3.0 GAfixed: vendor fix RHSA-2022:6835
-
Red Hat RHPAM 7.13.0 asyncfixed: vendor fix RHSA-2022:5903
-
Red Hat A-MQ Clients 2 com.google.code.gson-gson com.google.code.gson-gson Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.387.3.1684911776-3.el8 Red Hat A-MQ Online com.google.code.gson-gson com.google.code.gson-gson Red Hat AMQ Broker 7 com.google.code.gson-gson com.google.code.gson-gson Red Hat build of Debezium 1 com.google.code.gson-gson com.google.code.gson-gson Red Hat Data Grid 8 com.google.code.gson-gson com.google.code.gson-gsonnot affected: vulnerable code not present
+4 more productsfewer
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-jberet 1.3.9-2.SP2_redhat_00001.1.el7eap, eap7-wildfly 7.4.6-5.GA_redhat_00002.1.el7eap, eap7-apache-cxf 3.3.13-1.redhat_00001.1.el7eap, eap7-jandex 2.4.2-1.Final_redhat_00001.1.el7eap, eap7-netty 4.1.77-1.Final_redhat_00001.1.el7eap, eap7-undertow 2.2.18-2.SP2_redhat_00001.1.el7eap, +81 more Red Hat JBoss EAP 7.4 for RHEL 8 eap7-jberet 1.3.9-2.SP2_redhat_00001.1.el8eap, eap7-wildfly 7.4.6-5.GA_redhat_00002.1.el8eap, eap7-apache-cxf 3.3.13-1.redhat_00001.1.el8eap, eap7-jandex 2.4.2-1.Final_redhat_00001.1.el8eap, eap7-netty 4.1.77-1.Final_redhat_00001.1.el8eap, eap7-undertow 2.2.18-2.SP2_redhat_00001.1.el8eap, +79 more Red Hat JBoss Enterprise Application Platform pom.xml, c3 0.6.0, c3 0.7.1, d3 5.9.2, ms 2.0.0, ms 2.1.2, +1483 more Red Hat JBoss Enterprise Application Platform Expansion Pack com.google.code.gson-gson com.google.code.gson-gson
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 5 mo ago
Exploit prediction
12.23% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.google.code.gson:gson | <2.8.9 |
2.8.9 |
Affected products
- n/a com.google.code.gson:gson
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/google/gson/pull/1991
web, patch, third-party-advisory
-
github.com
/google/gson/pull/1991/commits
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujul2022.html
web, patch, third-party-advisory
-
debian.org
/security/2022/dsa-5227
vendor-advisory, web, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327
web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/05/msg00015.html
mailing-list, web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20220901-0009/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/09/msg00009.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25647
advisory
-
github.com
/google/gson
package
-
security.netapp.com
/advisory/ntap-20220901-0009
web
Sources
- CVE List CVE-2022-25647
- GitHub Advisory GHSA-4jrv-ppp4-jm57
- NVD CVE-2022-25647
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.