Advisory

DEBIAN-CVE-2021-21343

Also known as: CVE-2021-21343

Summary

The record has no summary.

Details

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in the deletion of a file on the local host. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

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:H/A:N

Dates

Published
2021-03-23 00:15 UTC
Modified
2026-10-23 18:03 UTC

Affected packages and fixes

libxstream-java

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.4.15-2 (ecosystem)

Fixed versions

1.4.15-2

Fix

  • Fixed version 1.4.15-2
    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.15-2 (ecosystem)

Fixed versions

1.4.15-2

Fix

  • Fixed version 1.4.15-2
    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.15-2 (ecosystem)

Fixed versions

1.4.15-2

Fix

  • Fixed version 1.4.15-2
    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