CVE-2021-21342

Published: 23 March 2021

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 a server-side forgery request. 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.

Priority

Medium

CVSS 3 base score: 9.1

Status

Package Release Status
libxstream-java
Launchpad, Ubuntu, Debian
Upstream
Released (1.4.16)
Ubuntu 21.04 (Hirsute Hippo)
Released (1.4.15-1ubuntu0.1)
Ubuntu 20.10 (Groovy Gorilla)
Released (1.4.11.1-2ubuntu0.1)
Ubuntu 20.04 LTS (Focal Fossa)
Released (1.4.11.1-1ubuntu0.2)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (1.4.11.1-1~18.04.2)
Ubuntu 16.04 ESM (Xenial Xerus) Ignored
(end of standard support, was needs-triage)
Ubuntu 14.04 ESM (Trusty Tahr) Needs triage