CVE-2021-39150
No exploitation reported by the sources we read.
- Published2021-08-23
- Fixed in1.4.18
- WeaknessCWE-502 · CWE-918
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2021-08-2319:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.4 | < 1.4.18 | 1.4.18 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.2 | = 4.2.0.2.0 | no fix published | NVD |
| 4.2 | = 4.2.0.3.0 | no fix published | NVD |
| 4.3 | = 4.3.0.1.0 | no fix published | NVD |
| 4.3 | = 4.3.0.6.0 | no fix published | NVD |
| 4.4 | = 4.4.0.0.0 | no fix published | NVD |
| 4.4 | = 4.4.0.2.0 | no fix published | NVD |
| 4.4 | = 4.4.0.3.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.3 | = 7.3.4 | no fix published | NVD |
| 7.3 | = 7.3.5 | no fix published | NVD |
| 7.4 | = 7.4.0 | no fix published | NVD |
| 7.4 | = 7.4.1 | no fix published | NVD |
| 7.4 | = 7.4.2 | no fix published | NVD |
12 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- x-stream xstreamAffected
- = < 1.4.18no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2022-07-25
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- com.thoughtworks.xstream:xstreamTuxCare:Mavenfrom 1.4.17 · fixed in 1.4.17-tuxcare.1
- hadoop-fips-3.3.6Chainguardall versions · no fixed version listedand 1 other package
- libxstream-javaUbuntu:Pro:16.04:LTSall versions · fixed in 1.4.8-1ubuntu0.1+esm1
- libxstream-javaUbuntu:Pro:14.04:LTSall versions · fixed in 1.4.7-1ubuntu0.1+esm1
- libxstream-javaUbuntu:22.04:LTSall versions · fixed in 1.4.18-2ubuntu0.1
- libxstream-javaUbuntu:20.04:LTSall versions · fixed in 1.4.11.1-1ubuntu0.3
- libxstream-javaUbuntu:18.04:LTSall versions · fixed in 1.4.11.1-1+deb10u4build0.18.04.1
- libxstream-javaDebian:14all versions · fixed in 1.4.18-1
21 more package ranges on OSV.dev
Vendor advisories
xstream: Server-side request forgery (SSRF) via unsafe deserialization of com.sun.xml.internal.ws.client.sei.*
xstream as a component of Red Hat BPM Suite 6 · xstream as a component of Red Hat JBoss A-MQ 6 · xstream as a component of Red Hat JBoss BRMS 5 · +6 more
Red Hat Security Advisory: Red Hat Data Grid 8.3.0 security update
Red Hat Security Advisory: Red Hat Decision Manager 7.12.0 security update
Red Hat Security Advisory: Red Hat Process Automation Manager 7.12.0 security update
Red Hat Security Advisory: Red Hat Integration Camel-K 1.6 release and security update
Red Hat Security Advisory: Red Hat Integration Camel Extensions for Quarkus GA security update
1 more advisory
Fix
- Update Xstream to 1.4.18
- Vendor fix Red Hat Product Security RHSA-2022:0520 · 1 productTo install this update, do the following: 1. Download the Data Grid 8.3.0 Server patch from the customer portal[²]. 2. Back up your existing Data Grid installation. You should back up databases, configuration files, and so on. 3. Install the Data Grid 8.3.0 Server patch. 4. Restart Data Grid to e…
- Vendor fix Red Hat Product Security RHSA-2022:0297 · 1 productFor on-premise installations, before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. It is recommended to halt the server by stopping the JBoss Application Server process before installing this up…
- Vendor fix Red Hat Product Security RHSA-2021:4918 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2021:3956 · 12 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- No fix planned, says the vendor Red Hat Product Security CVE-2021-39150 · 9 productsOut of support scope
Advisories and patches
- www.oracle.comPatch
- www.oracle.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-10-07
- CNACVSS 3.18.5known since 2026-10-23
- NVDCVSS 3.18.5read 2026-10-23
- NVDCVSS 2.06read 2026-10-23
- CNAweakness (CWE)CWE-502, CWE-918known since 2026-10-23
- NVDweakness (CWE)CWE-502, CWE-918read 2026-10-23
- FIRST EPSSEPSS score3.4 %2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2021-08-23
Identifiers
- CGA-444r-j26c-xc6gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6v9g-697r-mfcqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-82x4-c294-g59gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p227-5cvh-wvg8same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2021-1688same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-cxfm-5m4g-x7xpsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-2769-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5004-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0474advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1337advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:1401-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:3476-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:10592-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2021:3956advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2021:3476-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5946-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- Published
- 2021-08-23
- Last modified
- 2026-10-07
- NVD status
- Analyzed
- GitHub advisory
- GHSA-cxfm-5m4g-x7xp
Frequently asked questions
What is CVE-2021-39150?
Is CVE-2021-39150 actively exploited?
What is the CVSS score for CVE-2021-39150?
Running xstream? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-cxfm-5m4g-x7xp
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0