Debian DSA-5227-1 : libgoogle-gson-java - security update

high Nessus Plugin ID 164825

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has a package installed that is affected by a vulnerability as referenced in the dsa-5227 advisory.

It was discovered that Gson, a Java library that can be used to convert Java Objects into their JSON representations and vice versa, was vulnerable to a deserialization flaw. An application would de- serialize untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution. This can lead to a denial of service or even the execution of arbitrary code. For the stable distribution (bullseye), this problem has been fixed in version 2.8.6-1+deb11u1. We recommend that you upgrade your libgoogle-gson-java packages. For the detailed security status of libgoogle-gson-java please refer to its security tracker page at: https://security- tracker.debian.org/tracker/libgoogle-gson-java

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the libgoogle-gson-java packages.

For the stable distribution (bullseye), this problem has been fixed in version 2.8.6-1+deb11u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010670

http://www.nessus.org/u?898134c5

https://www.debian.org/security/2022/dsa-5227

https://security-tracker.debian.org/tracker/CVE-2022-25647

https://packages.debian.org/source/bullseye/libgoogle-gson-java

Plugin Details

Severity: High

ID: 164825

File Name: debian_DSA-5227.nasl

Version: 1.4

Type: local

Agent: unix

Published: 9/7/2022

Updated: 1/24/2025

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2022-25647

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libgoogle-gson-java, cpe:/o:debian:debian_linux:11.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/7/2022

Vulnerability Publication Date: 5/1/2022

Reference Information

CVE: CVE-2022-25647