CVE-2020-26217
XStream: remote code execution due to insecure XML deserialization when relying on blocklists
Overview
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-78
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | activemq | <5.15.14=5.16.0 | 5.15.14 |
| Maven | com.thoughtworks.xstream:xstream | <1.4.14-java7 | 1.4.14-java7 |
Open a package to see all its vulnerabilities.
Operating systems · 14 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | xstream +1 | 1.3.1-12.el7_9 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | xstream +1 | 0:1.3.1-12.el7_9 | RHSA-2021:0162 |
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | libxstream-java | 1.4.11.1-1+deb10u1 |
| 11 | libxstream-java | 1.4.14-1 |
| 12 | libxstream-java | 1.4.14-1 |
| 13 | libxstream-java | 1.4.14-1 |
| 14 | libxstream-java | 1.4.14-1 |
| 9 | libxstream-java | 1.4.9-2+deb9u1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libxstream-java | 1.4.14-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | xstream +3 | 1.4.18-1.1 | openSUSE-SU-2024:10592-1 |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | libxstream-java | 1.4.11.1-1~18.04.1 |
| 18.04-ESM | libxstream-java | 1.4.11.1-1~18.04.1 |
| 20.04 | libxstream-java | 1.4.11.1-1ubuntu0.1 |
| 20.04-ESM | libxstream-java | 1.4.11.1-1ubuntu0.1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-26217
- github.com https://github.com/x-stream/xstream
- github.com https://github.com/x-stream/xstream/commit/0fec095d534126931c99fd38e9c6d41f5c685c1a
- github.com https://github.com/x-stream/xstream/security/advisories/GHSA-mw36-7c6c-q4q2
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-26217.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-0162.html
- lists.apache.org https://lists.apache.org/thread.html/r2de526726e7f4db4a7cb91b7355070779f51a84fd985c6529c2f4e9e%40%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r2de526726e7f4db4a7cb91b7355070779f51a84fd985c6529c2f4e9e@%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r7c9fc255edc0b9cd9567093d131f6d33fde4c662aaf912460ef630e9%40%3Ccommits.camel.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r7c9fc255edc0b9cd9567093d131f6d33fde4c662aaf912460ef630e9@%3Ccommits.camel.apache.org%3E
Show all 29 references
- lists.apache.org https://lists.apache.org/thread.html/r826a006fda71cc96fc87b6eca4b5d195f19a292ad36cea501682c38c%40%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r826a006fda71cc96fc87b6eca4b5d195f19a292ad36cea501682c38c@%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/redde3609b89b2a4ff18b536a06ef9a77deb93d47fda8ed28086fa8c3%40%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/redde3609b89b2a4ff18b536a06ef9a77deb93d47fda8ed28086fa8c3@%3Cissues.activemq.apache.org%3E
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/12/msg00001.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-26217
- security.netapp.com https://security.netapp.com/advisory/ntap-20210409-0004
- security.netapp.com https://security.netapp.com/advisory/ntap-20210409-0004/
- ubuntu.com https://ubuntu.com/security/notices/USN-4714-1
- ubuntu.com https://ubuntu.com/security/notices/USN-4943-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6978-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-26217
- www.debian.org https://www.debian.org/security/2020/dsa-4811
- www.oracle.com https://www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuApr2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuoct2021.html
- x-stream.github.io https://x-stream.github.io/CVE-2020-26217.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.