Advisory

UBUNTU-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 8.2, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Dates

Published
2022-12-28 00:15 UTC
Modified
2026-10-17 12:56 UTC

Affected packages and fixes

libxstream-java

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1.4.11.1-1+deb10u4build0.18.04.1 (ecosystem)

Fixed versions

1.4.11.1-1+deb10u4build0.18.04.1

Fix

  • Fixed version 1.4.11.1-1+deb10u4build0.18.04.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) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.4.11.1-1ubuntu0.3 (ecosystem)

Fixed versions

1.4.11.1-1ubuntu0.3

Fix

  • Fixed version 1.4.11.1-1ubuntu0.3
    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) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.4.18-2ubuntu0.1 (ecosystem)

Fixed versions

1.4.18-2ubuntu0.1

Fix

  • Fixed version 1.4.18-2ubuntu0.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) · Ubuntu 24.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libxstream-java

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libxstream-java

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libxstream-java

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences