CVE-2020-26259 XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.15, is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling. The vulnerability may allow a remote attacker to delete arbitrary know files on the host as log as the executing process has sufficient rights only by manipulating the processed input stream. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.15. The reported vulnerability does not exist running Java 15 or higher. No user is affected, who followed the recommendation to setup XStream's Security Framework with a whitelist! Anyone relying on XStream's default blacklist can immediately switch to a whilelist for the allowed types to avoid the vulnerability. Users of XStream 1.4.14 or below who still want to use XStream default blacklist can use a workaround described in more detailed in the referenced advisories.
Upgrade path
13 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apache struts | < 6.0.0 | 6.0.0 | Fixed |
| com.thoughtworks.xstream/xstream(Maven) | < 1.4.15; = 0.1; = 0.2; = 0.3 +36 more | 1.4.15 | Fixed |
| debian/libxstream-java(Debian 12) | < 1.4.15-1 | 1.4.15-1 | Fixed |
| debian/libxstream-java(Debian 13) | < 1.4.15-1 | 1.4.15-1 | Fixed |
| debian/libxstream-java(Debian 14) | < 1.4.15-1 | 1.4.15-1 | Fixed |
| ubuntu/libxstream-java(Ubuntu 18.04) | < 1.4.11.1-1~18.04.1; = 1.4.10-1; = 1.4.11.1-1~18.04 | 1.4.11.1-1~18.04.1 | Fixed |
| ubuntu/libxstream-java(Ubuntu 20.04) | < 1.4.11.1-1ubuntu0.1; = 1.4.11.1-1 | 1.4.11.1-1ubuntu0.1 | Fixed |
| ubuntu/libxstream-java(Ubuntu Pro 14.04) | < 1.4.7-1ubuntu0.1+esm2; = 1.4.4-1; = 1.4.7-1; = 1.4.7-1ubuntu0.1 +1 more | 1.4.7-1ubuntu0.1+esm2 | Fixed |
| ubuntu/libxstream-java(Ubuntu Pro 16.04) | < 1.4.8-1ubuntu0.1+esm3; = 1.4.8-1; = 1.4.8-1ubuntu0.1; = 1.4.8-1ubuntu0.1+esm1 +1 more | 1.4.8-1ubuntu0.1+esm3 | Fixed |
| xstream | < 1.4.15 | 1.4.15 | Fixed |
| debian linux | = 9.0; = 10.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 33; = 34; = 35 | No fix listed | Versions listed |
| x-stream xstream | = < 1.4.15 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.thoughtworks.xstream/xstream(Maven) | < 1.4.15 | 1.4.15 |
| com.thoughtworks.xstream/xstream(Maven) | = 0.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.5 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.6 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.0 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.0.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.0.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.2.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.2.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.3.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.10 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.10-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.11 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.11-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.11.1 | No fix listed |
Show 41 more
| Product | Affected versions | Fixed in |
|---|---|---|
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.12 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.12-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.13 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.13-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.14 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.14-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.14-jdk7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.4 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.5 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.6 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.8 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.9 | No fix listed |
| debian/libxstream-java(Debian:12) | < 1.4.15-1 | 1.4.15-1 |
| debian/libxstream-java(Debian:13) | < 1.4.15-1 | 1.4.15-1 |
| debian/libxstream-java(Debian:14) | < 1.4.15-1 | 1.4.15-1 |
| x-stream xstream | = < 1.4.15 | No fix listed |
| apache struts | < 6.0.0 | 6.0.0 |
| xstream | < 1.4.15 | 1.4.15 |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| fedoraproject fedora | = 33 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:14.04) | < 1.4.7-1ubuntu0.1+esm2 | 1.4.7-1ubuntu0.1+esm2 |
| ubuntu/libxstream-java(Ubuntu:Pro:14.04) | = 1.4.4-1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:14.04) | = 1.4.7-1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:14.04) | = 1.4.7-1ubuntu0.1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:14.04) | = 1.4.7-1ubuntu0.1+esm1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:16.04) | < 1.4.8-1ubuntu0.1+esm3 | 1.4.8-1ubuntu0.1+esm3 |
| ubuntu/libxstream-java(Ubuntu:Pro:16.04) | = 1.4.8-1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.1+esm1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.1+esm2 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:18.04) | < 1.4.11.1-1~18.04.1 | 1.4.11.1-1~18.04.1 |
| ubuntu/libxstream-java(Ubuntu:18.04) | = 1.4.10-1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:18.04) | = 1.4.11.1-1~18.04 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:20.04) | < 1.4.11.1-1ubuntu0.1 | 1.4.11.1-1ubuntu0.1 |
| ubuntu/libxstream-java(Ubuntu:20.04) | = 1.4.11.1-1 | No fix listed |
References
- github.com issue-tracking mitigation third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- x-stream.github.io exploit issue-tracking mitigation third-party-advisory
- lists.apache.org
- [debian-lts-announce] 20201231 [SECURITY] [DLA 2507-1] libxstream-java security update mailing-list third-party-advisory
- DSA-4828 third-party-advisory vendor-advisory
- security.netapp.com third-party-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- github.com
- github.com product
- Debian Security Tracker CVE-2020-26259 vendor-advisory
- [struts-commits] 20201221 [struts] branch master updated: Upgrades XStream to version 1.4.15 to address CVE-2020-26258, CVE-2020-26259 issue-tracking mailing-list
- FEDORA-2021-fbad11014a mailing-list vendor-advisory
- FEDORA-2021-d894ca87dc mailing-list vendor-advisory
- FEDORA-2021-5e376c0ed9 mailing-list vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking
- ubuntu.com vendor-advisory
- ENISA EUVD EUVD-2020-1497 third-party-advisory