7.5high
XStream is vulnerable to a Remote Command Execution attack
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 77.2% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7chv-rrw6-w6fc
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| x-stream xstream | < 1.4.17 | CVE List |
| com.thoughtworks.xstream:xstream (Maven) | before 1.4.17 | GitHub Advisory Database |
| xstream xstream | before 1.4.17 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
| fedoraproject fedora | 33, 34, 35 | NVD |
| netapp snapmanager | Not specified | NVD |
| oracle banking_cash_management | 14.2, 14.3, 14.5 | NVD |
| oracle banking_corporate_lending_process_management | 14.2.0, 14.3.0, 14.5.0 | NVD |
| oracle banking_credit_facilities_process_management | 14.2.0, 14.3.0, 14.5.0 | NVD |
| oracle banking_supply_chain_finance | 14.2.0 | NVD |
| oracle banking_trade_finance_process_management | 14.5.0 | NVD |
| oracle business_activity_monitoring | 11.1.1.9.0, 12.2.1.3.0, 12.2.1.4.0 | NVD |
| oracle communications_brm_-_elastic_charging_engine | 11.3, 12.0 | NVD |
| oracle communications_unified_inventory_management | 7.3.4, 7.3.5, 7.4.0, 7.4.1, 7.4.2 | NVD |
| oracle enterprise_manager_ops_center | 12.4.0.0 | NVD |
| oracle retail_customer_insights | 15.0.2, 16.0.2 | NVD |
| oracle retail_xstore_point_of_service | 16.0.6, 17.0.4, 18.0.3, 19.0.2, 20.0.1 | NVD |
| oracle webcenter_portal | 12.2.1.3.0, 12.2.1.4.0 | NVD |
| oracle webcenter_sites | 12.2.1.3.0, 12.2.1.4.0 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
The vulnerability may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types.
Patches
If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.17.
Workarounds
See workarounds for the different versions covering all CVEs.
References
See full information about the nature of the vulnerability and the steps to reproduce it in XStream's documentation for CVE-2021-29505.
Credits
V3geB1rd, white hat hacker from Tencent Security Response Center found and reported the issue to XStream and provided the required information to reproduce it.
For more information
If you have any questions or comments about this advisory:
- Open an issue in XStream
- Email us at XStream Google Group
NVD (es)
XStream es un software para serializar objetos Java a XML y viceversa. Una vulnerabilidad en las versiones de XStream anteriores a la versión 1.4.17 puede permitir a un atacante remoto que tenga derechos suficientes ejecutar comandos del host sólo manipulando el flujo de entrada procesado. Ningún usuario que haya seguido la recomendación de configurar el marco de seguridad de XStream con una lista blanca limitada a los tipos mínimos necesarios está afectado. La vulnerabilidad está parcheada en la versión 1.4.17
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29505 changed 2026-10-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7chv-rrw6-w6fc changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-29505 changed 2026-10-07 | Public domain |