PT-2021-4782
CVE-2021-21347
·
Published
2021-03-12
·
Updated
2025-12-03
Description by
CVSS 2.0
10
CriticalMetricsAV: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 load and execute arbitrary code from a remote host 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
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 to prevent exploitation.
Found an issue in the description? Have something to add? Feel free to write us 👾