CVE-2021-21346: XStream is vulnerable to an Arbitrary Code Execution attack
A flaw was found in xstream. A remote attacker can load and execute arbitrary code from a remote host 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 CVE-2021-21346?
CVE-2021-21346 is a vulnerability in the XStream Java library that allows a remote attacker to load and execute arbitrary code by manipulating the input stream.
What is the severity of CVE-2021-21346?
The severity of CVE-2021-21346 is high with a CVSS score of 8.1.
How does CVE-2021-21346 affect users?
Users who have the affected versions of XStream (1.3.1-13.el7_9 and earlier) are vulnerable to this exploit.
How can I fix CVE-2021-21346?
You can fix CVE-2021-21346 by upgrading to version 1.4.16 of XStream or a later version that includes the security patch.
Where can I find more information about CVE-2021-21346?
You can find more information about CVE-2021-21346 on the CVE website (https://www.cve.org/CVERecord?id=CVE-2021-21346) and the NIST NVD database (https://nvd.nist.gov/vuln/detail/CVE-2021-21346).