CVE-2021-21347: XStream is vulnerable to an Arbitrary Code Execution attack
A flaw was found in xstream. A remote attacker may be able to load and execute arbitrary code from a remote host only by manipulating the processed input stream. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Other sources
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which 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. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the vulnerability ID for this flaw in xstream?
The vulnerability ID for this flaw in xstream is CVE-2021-21347.
What is the severity rating of CVE-2021-21347?
The severity rating of CVE-2021-21347 is critical, with a severity value of 9.8.
How can a remote attacker exploit this vulnerability?
A remote attacker can exploit this vulnerability by manipulating the processed input stream to load and execute arbitrary code from a remote host.
Which software versions are affected by this vulnerability?
Versions up to (but excluding) 1.4.16 of xstream are affected by this vulnerability.
Is there a fix available for this vulnerability?
Yes, a fix is available for this vulnerability in version 1.4.16 of xstream.