PT-2021-5145 · Xstream+5 · Xstream+5

Published

2021-03-12

·

Updated

2024-08-22

·

CVE-2021-21351

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions XStream versions prior to 1.4.16
Description The issue is related to the XStream Java library, which is used for serializing objects to XML and back again. It may allow a remote attacker to load and execute arbitrary code from a remote host by manipulating the processed input stream. Users who set up XStream's security framework with a whitelist limited to the minimal required types are not affected.
Recommendations For versions prior to 1.4.16, update to at least version 1.4.16 to resolve the issue. As a temporary workaround, consider setting up XStream's security framework with a whitelist limited to the minimal required types.

Exploit

Fix

Unrestricted File Upload

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2022-1100
ALT-PU-2022-2171
ALT-PU-2022-7660
ALT-PU-2023-1912
BDU:2021-05940
BIT-ACTIVEMQ-2021-21351
CVE-2021-21351
DLA-2616-1
DSA-5004-1
GHSA-HRCP-8F3Q-4W2C
MGASA-2021-0370
OESA-2021-1185
OPENSUSE-SU-2021:0832-1
OPENSUSE-SU-2021:1840-1
OPENSUSE-SU-2021_0832-1
OPENSUSE-SU-2021_1840-1
OPENSUSE-SU-2024:10592-1
SUSE-SU-2021:1840-1
SUSE-SU-2021:1840-2
USN-4943-1
USN-6978-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Suse
Ubuntu
Xstream