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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-2616-1 | libxstream-java security update |
Debian DSA |
DSA-5004-1 | libxstream-java security update |
EUVD |
EUVD-2021-0673 | 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. |
Github GHSA |
GHSA-hvv8-336g-rx3m | 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 |
Ubuntu USN |
USN-4943-1 | XStream vulnerabilities |
Ubuntu USN |
USN-6978-1 | XStream vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 23 May 2025 18:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Apache
Apache activemq Apache jmeter Netapp Netapp oncommand Insight Xstream Xstream xstream |
|
| CPEs | cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* cpe:2.3:a:apache:activemq:5.16.0:*:*:*:*:*:*:* cpe:2.3:a:apache:activemq:5.16.1:*:*:*:*:*:*:* cpe:2.3:a:apache:jmeter:*:*:*:*:*:*:*:* cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:* cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:* |
|
| Vendors & Products |
Xstream Project
Xstream Project xstream |
Apache
Apache activemq Apache jmeter Netapp Netapp oncommand Insight Xstream Xstream xstream |
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2024-08-03T18:09:15.862Z
Reserved: 2020-12-22T00:00:00
Link: CVE-2021-21342
No data.
Status : Analyzed
Published: 2021-03-23T00:15:12.490
Modified: 2025-05-23T17:39:23.860
Link: CVE-2021-21342
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
EUVD
Github GHSA
Ubuntu USN