Deserialization of Untrusted Data and Code Injection in xstream
It was found that xstream API version 1.4.10 before 1.4.11 introduced a regression for a previous deserialization flaw. If the security framework has not been initialized, it may allow a remote attacker to run arbitrary shell commands when unmarshalling XML or any supported format. e.g. JSON. (regression of CVE-2013-7285)
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.thoughtworks.xstream:xstream | >= 1.4.10, < 1.4.11 | 1.4.11 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-10173
- https://access.redhat.com/errata/RHSA-2019:3892
- https://access.redhat.com/errata/RHSA-2019:4352
- https://access.redhat.com/errata/RHSA-2020:0445
- https://access.redhat.com/errata/RHSA-2020:0727
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10173
- https://github.com/x-stream/xstream
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- http://x-stream.github.io/changes.html#1.4.11
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-502, CWE-94- Platform
- Java / Kotlin (Maven)
- Package
com.thoughtworks.xstream:xstream- Disclosed
- 26.07.2019
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hf23-9pf7-388p - CC BY 4.0
Vulnerability history: com.thoughtworks.xstream:xstream
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 37
- First → latest
- 05.2019 11.2024
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 2
- High 22
- Medium 13
Disclosures per year
- 2019: 2
- 2020: 5
- 2021: 26
- 2022: 3
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Deserialization of Untrusted Data and Code Injection in xstream this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.