XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. 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](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-2769-1 | libxstream-java security update |
Debian DSA |
DSA-5004-1 | libxstream-java security update |
Github GHSA |
GHSA-xw4p-crpj-vjx2 | 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-5946-1 | XStream vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 23 May 2025 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Xstream
Xstream xstream |
|
| CPEs | cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Xstream Project
Xstream Project xstream |
Xstream
Xstream xstream |
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2024-08-04T01:58:18.220Z
Reserved: 2021-08-16T00:00:00
Link: CVE-2021-39152
No data.
Status : Analyzed
Published: 2021-08-23T19:15:13.247
Modified: 2025-05-23T16:47:47.407
Link: CVE-2021-39152
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
Github GHSA
Ubuntu USN