PT-2021-22410 · Oracle+6 · Javafx+7

Published

2021-08-23

·

Updated

2024-06-15

·

CVE-2021-39153

CVSS v3.1

8.5

High

VectorAV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions XStream versions prior to 1.4.18
Description This issue may allow a remote attacker to load and execute arbitrary code from a remote host by manipulating the processed input stream, if using the version out of the box with Java runtime version 14 to 8 or with JavaFX installed. Users who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types are not affected. The vulnerability is related to the use of a blacklist by default, which cannot be secured for general purpose.
Recommendations For versions prior to 1.4.18, consider setting up XStream's security framework with a whitelist limited to the minimal required types to mitigate the risk of exploitation. As a temporary workaround, consider restricting the use of the vulnerable library until a patch is available. For XStream version 1.4.18 and later, no additional action is required since it no longer uses a blacklist by default.

Exploit

Fix

Deserialization of Untrusted Data

Unrestricted File Upload

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

Weakness Enumeration

Related Identifiers

ALT-PU-2022-7660
CVE-2021-39153
DLA-2769-1
DSA-5004-1
ELSA-2021-3956
GHSA-2Q8X-2P7F-574V
MGASA-2021-0474
OESA-2021-1337
OPENSUSE-SU-2021:1401-1
OPENSUSE-SU-2021:3476-1
OPENSUSE-SU-2021_1401-1
OPENSUSE-SU-2021_3476-1
OPENSUSE-SU-2024:10592-1
RHSA-2021:3956
RHSA-2021_3956
SUSE-SU-2021:3476-1
USN-5946-1

Affected Products

Alt Linux
Astra Linux
Java
Javafx
Linuxmint
Red Hat
Suse
Ubuntu