CVE-2021-21346

Publication date 23 March 2021

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

6.1 · Medium

Score breakdown

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which 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 25.04 plucky
Not affected
24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic
Not affected
23.04 lunar
Not affected
22.10 kinetic Ignored end of life, was needed
22.04 LTS jammy
Vulnerable
21.10 impish Ignored end of life
21.04 hirsute
Fixed 1.4.15-1ubuntu0.1
20.10 groovy
Fixed 1.4.11.1-2ubuntu0.1
20.04 LTS focal
Fixed 1.4.11.1-1ubuntu0.2
18.04 LTS bionic
Fixed 1.4.11.1-1~18.04.2
16.04 LTS xenial
Fixed 1.4.8-1ubuntu0.1+esm3
14.04 LTS trusty
Fixed 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

Severity score breakdown

Parameter Value
Base score 6.1 · Medium
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Scope Changed
Confidentiality None
Integrity impact High
Availability impact None
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N