GitHub Advisoryadvisory · Maven

GHSA-4jrv-ppp4-jm57 Deserialization of Untrusted Data in Gson

HIGH Published 2022-05-03 Modified 2026-06-08 Official page ↗
Aliases
CVE-2022-25647
Ecosystem
Maven
Packages
com.google.code.gson:gson
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
Weaknesses
CWE-502
Reviewed
2022-05-20

Affected packages

• Maven com.google.code.gson:gson: < 2.8.9 → fixed in 2.8.9

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-25647 The package com.google.code.gson:gson before 2.8.9 are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in… vulnerability

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References