Advisory

DEBIAN-CVE-2022-41966

Also known as: CVE-2022-41966

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2022-12-28 00:15 UTC
Modified
2026-11-18 06:02 UTC

Affected packages and fixes

libxstream-java

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.4.20-1 (ecosystem)

Fixed versions

1.4.20-1

Fix

  • Fixed version 1.4.20-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libxstream-java

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.4.20-1 (ecosystem)

Fixed versions

1.4.20-1

Fix

  • Fixed version 1.4.20-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libxstream-java

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.4.20-1 (ecosystem)

Fixed versions

1.4.20-1

Fix

  • Fixed version 1.4.20-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences