CVE-2021-29505 XStream
| Affected software | XStream |
|---|---|
| Severity | 8.8 High CVSS 3.1 3 scores |
| Fixed in | 1.4.17 |
| Weakness | Code injection (CWE-94) |
| Published | 28 May 2021 |
| Updated | 7 Oct 2026 |
Description
XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.
CWE-502 · Deserialization of untrusted dataCWE-74
Exploitation status
Working exploit published
A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC 2 indexed Published artifacts you can open, in GitHub PoC, Nuclei; first seen 2021-06-08.
- EPSS 77% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.6% of all scored CVEs.
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | 对CVE-2021-29505进行复现,并分析学了下Xstream反序列化过程 | 6 | 2021-06-08 |
| Nuclei | XStream <1.4.17 - Remote Code Execution |
Waratek protection
A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.
- Protection none
- Action unverified
- Review automated Inferred
- Record active
| Decided by | A reference pointing at the upstream fix: a commit, a PR, a Red Hat bug |
|---|---|
| Finding | A reference points at an upstream fix (commit tier): https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f. That makes this CVE a candidate for an ARMR patch rule — it is the kind of defect ARMR can address, and there is a fix to work from. No rule exists and none is scheduled: writing one means reading the linked change and finding a hook point ARMR can express it at, which may turn out not to exist. |
| Candidate fix | https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f : a commit: the change itself |
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 | 7.5 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/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 Retail Applications / Other (XStream) (15.0.2, 16.0.2) |
| Oracle Critical Patch Update January 2022 ↗ | CPU | 2022-Q1 | Oracle Communications Applications / Rulesets (XStream) (7.3.4, 7.3.5, 7.4.0, 7.4.1, 7.4.2) |
| Oracle Critical Patch Update October 2021 ↗ | CPU | 2021-Q4 | Oracle Enterprise Manager / Guest Management (XStream) (12.4.0.0) Oracle Financial Services Applications / Accessibility (XStream) (14.2, 14.3, 14.5) Oracle Financial Services Applications / Account-Maintenance (XStream) (14.2, 14.3, 14.5) Oracle Financial Services Applications / Credit Appraisal (XStream) (14.2, 14.3, 14.5) Oracle Financial Services Applications / Dashboard (XStream) (14.2, 14.3, 14.5) Oracle Financial Services Applications / Lending (XStream) (14.2, 14.3, 14.5) Oracle Fusion Middleware / Discussion Forums (XStream) (12.2.1.3.0, 12.2.1.4.0) Oracle Fusion Middleware / General (XStream) (11.1.1.9.0, 12.2.1.3.0, 12.2.1.4.0) Oracle Fusion Middleware / WebCenter Sites (XStream) (12.2.1.3.0, 12.2.1.4.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications Applications | Rulesets (XStream) | 7.3.4, 7.3.5, 7.4.0, 7.4.1, 7.4.2 | 7.3.4 · 7.3.5 · 7.4.0 · 7.4.1 · 7.4.2 |
| Oracle Enterprise Manager | Guest Management (XStream) | 12.4.0.0 | 12.4.0.0 |
| Oracle Financial Services Applications | Accessibility (XStream) | 14.2, 14.3, 14.5 | 14.2 · 14.3 · 14.5 |
| Oracle Financial Services Applications | Account-Maintenance (XStream) | 14.2, 14.3, 14.5 | 14.2 · 14.3 · 14.5 |
| Oracle Financial Services Applications | Credit Appraisal (XStream) | 14.2, 14.3, 14.5 | 14.2 · 14.3 · 14.5 |
| Oracle Financial Services Applications | Dashboard (XStream) | 14.2, 14.3, 14.5 | 14.2 · 14.3 · 14.5 |
| Oracle Financial Services Applications | Lending (XStream) | 14.2, 14.3, 14.5 | 14.2 · 14.3 · 14.5 |
| Oracle Fusion Middleware | Discussion Forums (XStream) | 12.2.1.3.0, 12.2.1.4.0 | 12.2.1.3.0 · 12.2.1.4.0 |
| Oracle Fusion Middleware | General (XStream) | 11.1.1.9.0, 12.2.1.3.0, 12.2.1.4.0 | 11.1.1.9.0 · 12.2.1.3.0 · 12.2.1.4.0 |
| Oracle Fusion Middleware | WebCenter Sites (XStream) | 12.2.1.3.0, 12.2.1.4.0 | 12.2.1.3.0 · 12.2.1.4.0 |
| Oracle Retail Applications | Other (XStream) | 15.0.2, 16.0.2 | 15.0.2 · 16.0.2 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
com.thoughtworks.xstream:xstream |
0 | 1.4.17 |
unbounded |
Products and versions
18 products, 42 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | com.thoughtworks.xstream | xstream | generic | < 1.4.17 |
| 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 | banking cash management | generic | 14.2 · 14.3 · 14.5 |
| nvd | oracle | banking corporate lending process management | generic | 14.2.0 · 14.3.0 · 14.5.0 |
| nvd | oracle | banking credit facilities process management | generic | 14.2.0 · 14.3.0 · 14.5.0 |
| nvd | oracle | banking supply chain finance | generic | 14.2.0 |
| nvd | oracle | banking trade finance process management | generic | 14.5.0 |
| nvd | oracle | business activity monitoring | generic | 11.1.1.9.0 · 12.2.1.3.0 · 12.2.1.4.0 |
| nvd | oracle | communications brm - elastic charging engine | generic | 11.3 · 12.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 | enterprise manager ops center | generic | 12.4.0.0 |
| nvd | oracle | retail customer insights | generic | 15.0.2 · 16.0.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 | webcenter portal | generic | 12.2.1.3.0 · 12.2.1.4.0 |
| nvd | oracle | webcenter sites | generic | 12.2.1.3.0 · 12.2.1.4.0 |
| nvd | xstream | xstream | generic | < 1.4.17 |
References
Timeline
Timeline
| Published | 2021-05-28 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-10-07 | NVD's own last-modified date for this record. |