CVE-2021-21351

Publication date 23 March 2021

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

9.1 · Critical

Score breakdown

Description

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. 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.

Status

Package Ubuntu Release Status
libxstream-java 24.10 oracular
Fixed in 1.4.15-2
24.04 LTS noble
Fixed in 1.4.15-2
23.10 mantic
Fixed in 1.4.15-2
23.04 lunar
Fixed in 1.4.15-2
22.10 kinetic
Fixed in 1.4.15-2
22.04 LTS jammy
Fixed in 1.4.15-2
21.10 impish
Fixed in 1.4.15-2
21.04 hirsute
Fixed in 1.4.15-1ubuntu0.1
20.10 groovy
Fixed in 1.4.11.1-2ubuntu0.1
20.04 LTS focal
Fixed in 1.4.11.1-1ubuntu0.2
18.04 LTS bionic
Fixed in 1.4.11.1-1~18.04.2
16.04 LTS xenial
Fixed in 1.4.8-1ubuntu0.1+esm3
14.04 LTS trusty
Fixed in 1.4.7-1ubuntu0.1+esm2

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.1 · Critical

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H


Access our resources on patching vulnerabilities