XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in a server-side forgery request. 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.
CVSS Details
- CVSS 3.1 Base Score: 5.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade xstream-javadocUpgrade xstream | May 3, 2023 | Mar 23, 2021 |
| Debian | — | Upgrade libxstream-java | Apr 5, 2021 | Mar 23, 2021 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Mar 23, 2021 |
| Suse | — | Upgrade xstream-javadocUpgrade xstream-parentUpgrade xstreamUpgrade xstream-benchmark | Jun 3, 2021 | Mar 23, 2021 |
| Ubuntu | — | Upgrade libxstream-java (Ubuntu Pro)Upgrade libxstream-java | May 12, 2021 | Mar 23, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub