CVE-2022-25647
JSON

7.7high

Deserialization of Untrusted Data

Severity
7.7high CVSS:3.1 by snyk
Exploit likelihood
11.9% (higher than 96% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-4jrv-ppp4-jm57SNYK-JAVA-COMGOOGLECODEGSON-1730327

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.

Affected

Product or packageVersionsReported by
com.google.code.gson:gsonfrom unspecified before 2.8.9CVE List
com.google.code.gson:gson (Maven)before 2.8.9GitHub Advisory Database
google gsonfrom 2.2.3 before 2.8.9NVD
debian debian_linux9.0, 10.0, 11.0NVD
netapp active_iq_unified_managerNot specifiedNVD
oracle financial_services_crime_and_compliance_management_studio8.0.8.2.0, 8.0.8.3.0NVD
oracle graalvm20.3.6, 21.3.2, 22.1.0NVD
oracle retail_order_broker18.0, 19.1NVD

All scores

snyk7.7high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
GitHub7.7high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

The package com.google.code.gson:gson before 2.8.9 is vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may lead to denial of service attacks.

NVD (es)

El paquete com.google.code.gson:gson versiones anteriores a 2.8.9, son vulnerables a una Deserialización de Datos No Confiables por medio del método writeReplace() en clases internas, lo cual puede conllevar a ataques DoS

References

https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327third-party-advisory, web
https://github.com/google/gson/pull/1991patch, third-party-advisory, web
https://github.com/google/gson/pull/1991/commitspatch, third-party-advisory, web
https://lists.debian.org/debian-lts-announce/2022/05/msg00015.htmlmailing-list, third-party-advisory, web
https://www.oracle.com/security-alerts/cpujul2022.htmlpatch, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20220901-0009/third-party-advisory
https://lists.debian.org/debian-lts-announce/2022/09/msg00009.htmlmailing-list, third-party-advisory, web
https://www.debian.org/security/2022/dsa-5227third-party-advisory, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2022-25647advisory
https://github.com/google/gsonpackage
https://security.netapp.com/advisory/ntap-20220901-0009web

Sources

SourceRecordLicence
CVE ListCVE-2022-25647 changed 2026-05-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-4jrv-ppp4-jm57 changed 2026-09-10CC-BY-4.0
NVDCVE-2022-25647 changed 2026-06-17Public domain