Vulnerability · Published Nov 16, 2020 · Assigned by GitHub_M
CVE-2020-26217Remote Code Execution in XStream
High 8.0
In plain English
A high-severity OS command injection in xstream from x-stream. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 85.0% (higher than 99.7% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to run arbitrary shell commands only by manipulating the processed input stream. Only users who rely on blocklists are affected. Anyone using XStream's Security Framework allowlist is not affected. The linked advisory provides code workarounds for users who cannot upgrade. The issue is fixed in version 1.4.14.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libxstream-java | 1.4.14-1 | DEBIAN-CVE-2020-26217 |
| Debian:13 | libxstream-java | 1.4.14-1 | DEBIAN-CVE-2020-26217 |
| Debian:14 | libxstream-java | 1.4.14-1 | DEBIAN-CVE-2020-26217 |
| Maven | com.thoughtworks.xstream:xstream | 1.4.14-java7 | GHSA-mw36-7c6c-q4q2 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/x-stream/xstream/security/advisories/GHSA-mw36-7c6c-q4q2 x_refsource_CONFIRM
- https://x-stream.github.io/CVE-2020-26217.html x_refsource_CONFIRM
- https://github.com/x-stream/xstream/commit/0fec095d534126931c99fd38e9c6d41f5c685c1a x_refsource_CONFIRM
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2471-1] libxstream-java security update mailing-list, x_refsource_MLIST
- DSA-4811 vendor-advisory, x_refsource_DEBIAN
- [activemq-issues] 20201230 [jira] [Created] (AMQ-8107) Does ActiveMQ use the affected functionality within Xstream libraries for CVE-2020-26217 mailing-list, x_refsource_MLIST
- [activemq-issues] 20201230 [jira] [Updated] (AMQ-8107) Does ActiveMQ use the affected functionality within Xstream libraries for CVE-2020-26217 mailing-list, x_refsource_MLIST
- [activemq-issues] 20210104 [jira] [Resolved] (AMQ-8107) Does ActiveMQ use the affected functionality within Xstream libraries for CVE-2020-26217 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210409-0004/ x_refsource_CONFIRM
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- [camel-commits] 20211006 [camel] branch main updated: Camel-XStream: Added a test about CVE-2020-26217 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC