CVE-2013-7285
Command Injection in Xstream
Reported by mitre · Published May 15, 2019
xstream is fixed in 1.4.11, 1.4.7 and 1.4.6 (Maven Central)
Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may allow a remote attacker to run arbitrary shell commands by manipulating the processed input stream when unmarshaling XML or any supported format. e.g. JSON.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| com.thoughtworks.xstream:xstream | Maven Central | 1.4.11, 1.4.7, 1.4.6 |
| xstream:xstream | Maven Central | 1.2.2 |
| xstream | xstream | 1.4.6 |
| libxstream-java | Ubuntu:14.04:LTS | 1.4.7-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Maven | xstream:xstream | 0 |
| n/a | n/a | * |
| Maven | com.thoughtworks.xstream:xstream | 0 |
Timeline
- Aug 20, 2014 CVE Published
- Jan 7, 2016 PoC Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 20, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 20, 2026 Security Advisory (5 in total, the first dated here)
- Oct 8, 2026 CVE Updated
- Oct 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2013-7285
vulnetix vdb fixes CVE-2013-7285
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-7285/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20140109 Re: CVE request: remote code execution via deserialization in XStream mailing-listx_refsource_MLIST
- [xstream-user] 20130717 Re: Is it possible to unregister the DynamicProxyConverter using the SpringOXM wrapper mailing-listx_refsource_MLIST
- [xstream-user] 20130718 Re: Is it possible to unregister the DynamicProxyConverter using the SpringOXM wrapper mailing-listx_refsource_MLIST
- [activemq-issues] 20190718 [jira] [Updated] (AMQ-7236) SEV-1 Security vulnerability in spring-expression-4.3.11.RELEASE.jar (spring framework) and xstream-1.4.10.jar mailing-listx_refsource_MLIST
- [activemq-issues] 20190826 [jira] [Created] (AMQ-7288) Security Vulnerabilities in ActiveMQ dependent libraries. mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- https://bugzilla.redhat.com/CVE-2013-7285 url
- https://fisheye.codehaus.org/changelog/xstream?cs=2210 url