CVE-2021-29505
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.
Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
77.232%
chance of exploitation in the next 30 days
higher than 99.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 1
Weakness
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-10-07 |
Timeline
- 2021-05-18GitHub advisory published (GHSA-7chv-rrw6-w6fc)10 days before publication
- 2021-05-28Published by the CNA21:00 UTC
- 2026-10-07CISA SSVC decision recorded1958 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2021-29505: XStream <1.4.17 - Remote Code Execution
GitHub advisory GHSA-7chv-rrw6-w6fc, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven com.thoughtworks.xstream:xstream | before 1.4.17 | 1.4.17 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| xstream xstream | before 1.4.17fixed in 1.4.17 | 1.4.17 |
| debian debian_linux | 10.0no fix listed11.0no fix listed9.0no fix listed | not listednot listednot listed |
| fedoraproject fedora | 33no fix listed34no fix listed35no fix listed | not listednot listednot listed |
| netapp snapmanager | ||
| oracle banking_cash_management | 14.2no fix listed14.3no fix listed14.5no fix listed | not listednot listednot listed |
| oracle banking_corporate_lending_process_management | 14.2.0no fix listed14.3.0no fix listed14.5.0no fix listed | not listednot listednot listed |
| oracle banking_credit_facilities_process_management | 14.2.0no fix listed14.3.0no fix listed14.5.0no fix listed | not listednot listednot listed |
| oracle banking_supply_chain_finance | 14.2.0no fix listed | not listed |
| oracle banking_trade_finance_process_management | 14.5.0no fix listed | not listed |
| oracle business_activity_monitoring | 11.1.1.9.0no fix listed12.2.1.3.0no fix listed12.2.1.4.0no fix listed | not listednot listednot listed |
| oracle communications_brm_-_elastic_charging_engine | 11.3no fix listed12.0no fix listed | not listednot listed |
| oracle communications_unified_inventory_management | 7.3.4no fix listed7.3.5no fix listed7.4.0no fix listed7.4.1no fix listed7.4.2no fix listed | not listednot listednot listednot listednot listed |
| oracle enterprise_manager_ops_center | 12.4.0.0no fix listed | not listed |
| oracle retail_customer_insights | 15.0.2no fix listed16.0.2no fix listed | not listednot listed |
| oracle retail_xstore_point_of_service | 16.0.6no fix listed17.0.4no fix listed18.0.3no fix listed19.0.2no fix listed20.0.1no fix listed | not listednot listednot listednot listednot listed |
| oracle webcenter_portal | 12.2.1.3.0no fix listed12.2.1.4.0no fix listed | not listednot listed |
| oracle webcenter_sites | 12.2.1.3.0no fix listed12.2.1.4.0no fix listed | not listednot listed |
References
- https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227
- https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc
- https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f%40%3Cdev.jmeter.apache.org%3E
- https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f@%3Cdev.jmeter.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2021/07/msg00004.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB
- https://security.netapp.com/advisory/ntap-20210708-0007
- https://security.netapp.com/advisory/ntap-20210708-0007/
- https://www.debian.org/security/2021/dsa-5004
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://x-stream.github.io/CVE-2021-29505.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-29505'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-29505'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-29505'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-29505'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).