Deserialization of Untrusted Data Affecting libgoogle-gson-java package, versions <2.8.5-3+deb10u1build0.20.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
11.57% (97th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-LIBGOOGLEGSONJAVA-2806517
  • published8 Mar 2024
  • disclosed1 May 2022

Introduced: 1 May 2022

CVE-2022-25647  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 libgoogle-gson-java to version 2.8.5-3+deb10u1build0.20.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgoogle-gson-java package and not the libgoogle-gson-java package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1