Debian DSA-5315-1 : libxstream-java - security update

high Nessus Plugin ID 169930

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-5315 advisory.

- XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack uses the hash code implementation for collections and maps to force recursive hash calculation causing a stack overflow. This issue is patched in version 1.4.20 which handles the stack overflow and raises an InputManipulationException instead. A potential workaround for users who only use HashMap or HashSet and whose XML refers these only as default map or set, is to change the default implementation of java.util.Map and java.util per the code example in the referenced advisory. However, this implies that your application does not care about the implementation of the map and all elements are comparable. (CVE-2022-41966)

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 libxstream-java packages.

For the stable distribution (bullseye), this problem has been fixed in version 1.4.15-3+deb11u2.

See Also

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

http://www.nessus.org/u?b2068716

https://www.debian.org/security/2023/dsa-5315

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

https://packages.debian.org/source/bullseye/libxstream-java

Plugin Details

Severity: High

ID: 169930

File Name: debian_DSA-5315.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/12/2023

Updated: 9/8/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2022-41966

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libxstream-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: 1/11/2023

Vulnerability Publication Date: 12/28/2022

Reference Information

CVE: CVE-2022-41966