PT-2021-4787 · Xstream+7 · Xstream+7

Published

2021-03-12

·

Updated

2024-08-22

·

CVE-2021-21350

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions XStream versions prior to 1.4.16
Description The issue concerns a Java library used to serialize objects to XML and back again. It may allow a remote attacker to execute arbitrary code by manipulating the processed input stream. Users who set up the security framework with a whitelist limited to the minimal required types are not affected. The vulnerability is related to unlimited loading of dangerous file types.
Recommendations To resolve the issue, use at least version 1.4.16 if you rely on XStream's default blacklist of the Security Framework. As a temporary workaround, consider setting up XStream's security framework with a whitelist limited to the minimal required types until a patch is available. Restrict access to the vulnerable XStream library to minimize the risk of exploitation. Avoid using the default blacklist of the Security Framework until the issue is resolved.

Exploit

Fix

Unrestricted File Upload

Deserialization of Untrusted Data

Weakness Enumeration

Related Identifiers

ALT-PU-2022-7660
BDU:2021-05506
BIT-ACTIVEMQ-2021-21350
CESA-2021_1354
CVE-2021-21350
DLA-2616-1
DSA-5004-1
ELSA-2021-1354
GHSA-43GC-MJXG-GVRQ
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
RHSA-2021:1354
RHSA-2021_1354
SUSE-SU-2021:1840-1
SUSE-SU-2021:1840-2
USN-4943-1
USN-6978-1

Affected Products

Alt Linux
Astra Linux
Centos
Linuxmint
Red Hat
Suse
Ubuntu
Xstream