CVE-2021-39146

Publication date 23 August 2021

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

8.5 · High

Score breakdown

Description

XStream is a simple library to serialize objects to XML and back again. In affected versions this 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.

Read the notes from the security team

Status

Package Ubuntu Release Status
libxstream-java 23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Not affected
21.10 impish Ignored end of life
21.04 hirsute Ignored end of life
20.04 LTS focal
Fixed 1.4.11.1-1ubuntu0.3
18.04 LTS bionic
Fixed 1.4.11.1-1+deb10u4build0.18.04.1
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Notes


sahnaseredini

for `trusty` and `xenial`, the code is not present and the available pocs cannot be exploited

Severity score breakdown

CVSS version: CVSS v3.0

Base score 8.5 · High

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


Access our resources on patching vulnerabilities