CVE-2021-39139 XStream
| Affected software | XStream |
|---|---|
| Severity | 8.8 High CVSS 3.1 3 scores |
| Fixed in | 1.4.18 |
| Weakness | Unrestricted file upload (CWE-434) |
| Published | 23 Aug 2021 |
| Updated | 7 Oct 2026 |
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 load and execute arbitrary code from a remote host only by manipulating the processed input stream. A user is only affected if using the version out of the box with JDK 1.7u21 or below. However, this scenario can be adjusted easily to an external Xalan that works regardless of the version of the Java runtime. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
CWE-502 · Deserialization of untrusted data
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 5 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 4.5% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all |
|---|---|
| Finding | This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious. |
| Candidate fix | https://github.com/x-stream/xstream/security/advisories/GHSA-64xx-cq4q-mf44 : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases |
CVSS
8.8 HIGH
v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3 metrics
CVSS
8.8 HIGH v3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 3.1 | 8.5 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
security-advisories@github.com | Secondary | |
| CVSS 2.0 | 6.5 | none | AV:N/AC:L/Au:S/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update July 2022 ↗ | CPU | 2022-Q3 | Oracle Fusion Middleware / Security Framework (XStream) (12.2.1.3.0, 12.2.1.4.0) |
| Oracle Critical Patch Update April 2022 ↗ | CPU | 2022-Q2 | Oracle Commerce / Content Acquisition System (XStream) (11.3.2) Oracle Retail Applications / Xenvironment (XStream) (16.0.6, 17.0.4, 18.0.3, 19.0.2, 20.0.1) |
| Oracle Critical Patch Update January 2022 ↗ | CPU | 2022-Q1 | Oracle Communications / Binding Support Function (XStream) (1.10.0) Oracle Communications Applications / Updater (XStream) (11.3, 12.0) Oracle Utilities Applications / General (XStream) (4.2.0.2.0, 4.2.0.3.0, 4.3.0.1.0-4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0) Oracle Utilities Applications / Tools (XStream) (6.0.0.1.1) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Commerce | Content Acquisition System (XStream) | 11.3.2 | 11.3.2 |
| Oracle Communications | Binding Support Function (XStream) | 1.10.0 | 1.10.0 |
| Oracle Communications Applications | Updater (XStream) | 11.3, 12.0 | 11.3 · 12.0 |
| Oracle Fusion Middleware | Security Framework (XStream) | 12.2.1.3.0, 12.2.1.4.0 | 12.2.1.3.0 · 12.2.1.4.0 |
| Oracle Retail Applications | Xenvironment (XStream) | 16.0.6, 17.0.4, 18.0.3, 19.0.2, 20.0.1 | 16.0.6 · 17.0.4 · 18.0.3 · 19.0.2 · 20.0.1 |
| Oracle Utilities Applications | General (XStream) | 4.2.0.2.0, 4.2.0.3.0, 4.3.0.1.0-4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0 | 4.2.0.2.0 · 4.2.0.3.0 · 4.4.0.0.0 · 4.4.0.2.0 · 4.4.0.3.0 |
| Oracle Utilities Applications | Tools (XStream) | 6.0.0.1.1 | 6.0.0.1.1 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
com.thoughtworks.xstream:xstream |
0 | 1.4.18 |
unbounded |
Products and versions
16 products, 36 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | com.thoughtworks.xstream | xstream | generic | < 1.4.18 |
| nvd | debian | debian linux | generic | 9.0 · 10.0 · 11.0 |
| nvd | fedoraproject | fedora | generic | 33 · 34 · 35 |
| nvd | netapp | snapmanager | generic | any version |
| nvd | oracle | business activity monitoring | generic | 12.2.1.4.0 |
| nvd | oracle | commerce guided search | generic | 11.3.2 |
| nvd | oracle | communications billing and revenue management elastic charging engine | generic | 11.3 · 12.0 |
| nvd | oracle | communications cloud native core automated test suite | generic | 1.9.0 |
| nvd | oracle | communications cloud native core binding support function | generic | 1.10.0 |
| nvd | oracle | communications cloud native core policy | generic | 1.14.0 |
| nvd | oracle | communications unified inventory management | generic | 7.3.4 · 7.3.5 · 7.4.0 · 7.4.1 · 7.4.2 |
| nvd | oracle | retail xstore point of service | generic | 16.0.6 · 17.0.4 · 18.0.3 · 19.0.2 · 20.0.1 |
| nvd | oracle | utilities framework | generic | 4.2.0.2.0 · 4.2.0.3.0 · 4.3.0.1.0 · 4.3.0.6.0 · 4.4.0.0.0 · 4.4.0.2.0 · 4.4.0.3.0 |
| nvd | oracle | utilities testing accelerator | generic | 6.0.0.1.1 |
| nvd | oracle | webcenter portal | generic | 12.2.1.3.0 · 12.2.1.4.0 |
| nvd | xstream | xstream | generic | < 1.4.18 |
References
Timeline
Timeline
| Published | 2021-08-23 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-10-07 | NVD's own last-modified date for this record. |