CVE-2021-21349: A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host
Last updated 22 August 2024
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 request data from internal resources that are not publicly available 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-21349?
CVE-2021-21349 is a vulnerability in XStream that allows a remote attacker to request data from internal resources by manipulating the input stream.
What is the severity of CVE-2021-21349?
The severity of CVE-2021-21349 is medium with a score of 5.9.
How does CVE-2021-21349 affect users?
CVE-2021-21349 does not directly affect users, but it may allow a remote attacker to access data from internal resources.
How do I fix CVE-2021-21349?
To fix CVE-2021-21349, update to XStream version 1.4.16 or higher.
Where can I find more information about CVE-2021-21349?
You can find more information about CVE-2021-21349 at the following references: [CVE](https://www.cve.org/CVERecord?id=CVE-2021-21349), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-21349), [Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1942635), [Red Hat](https://access.redhat.com/errata/RHSA-2021:2139).