Skip to content

CVE-2020-26259 XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling

MediumCVSS 6.8 EPSS 82.4%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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
ProductAffected versionsFixed 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