Skip to content

CVE-2021-21343 XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling as long as the executing process has sufficient rights

HighCVSS 7.5 EPSS 46.7%
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.16, there is a vulnerability where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in the deletion of a file on the local host. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

Upgrade path

24 packages: 11 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
netapp oncommand insight All versions No fix listed No fix yet
apache activemq < 5.15.14; = 5.16.0; = 5.16.1 5.15.14 Fixed
apache jmeter < 5.5 5.5 Fixed
com.thoughtworks.xstream/xstream(Maven) < 1.4.16; = 0.1; = 0.2; = 0.3 +37 more 1.4.16 Fixed
debian/libxstream-java(Debian 12) < 1.4.15-2 1.4.15-2 Fixed
debian/libxstream-java(Debian 13) < 1.4.15-2 1.4.15-2 Fixed
debian/libxstream-java(Debian 14) < 1.4.15-2 1.4.15-2 Fixed
ubuntu/libxstream-java(Ubuntu 18.04) < 1.4.11.1-1~18.04.2; = 1.4.10-1; = 1.4.11.1-1~18.04; = 1.4.11.1-1~18.04.1 1.4.11.1-1~18.04.2 Fixed
ubuntu/libxstream-java(Ubuntu 20.04) < 1.4.11.1-1ubuntu0.2; = 1.4.11.1-1; = 1.4.11.1-1ubuntu0.1 1.4.11.1-1ubuntu0.2 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.16 1.4.16 Fixed
debian linux = 9.0; = 10.0; = 11.0 No fix listed Versions listed
fedoraproject fedora = 33; = 34; = 35 No fix listed Versions listed
oracle banking enterprise default management = 2.10.0; = 2.12.0 No fix listed Versions listed
oracle banking platform = 2.4.0; = 2.7.1; = 2.9.0; = 2.12.0 No fix listed Versions listed
oracle banking virtual account management = 14.2.0; = 14.3.0; = 14.5.0 No fix listed Versions listed
oracle business activity monitoring = 11.1.1.9.0; = 12.2.1.3.0; = 12.2.1.4.0 No fix listed Versions listed
oracle communications billing and revenue management elastic charging engine = 12.0.0.3.0 No fix listed Versions listed
oracle communications policy management = 12.5.0 No fix listed Versions listed
oracle communications unified inventory management = 7.3.2; = 7.3.4; = 7.3.5; = 7.4.0 +1 more No fix listed Versions listed
oracle retail xstore point of service = 16.0.6; = 17.0.4; = 18.0.3; = 19.0.2 No fix listed Versions listed
oracle webcenter portal = 11.1.1.9.0; = 12.2.1.3.0; = 12.2.1.4.0 No fix listed Versions listed
x-stream xstream = < 1.4.16 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
com.thoughtworks.xstream/xstream(Maven) < 1.4.16 1.4.16
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 75 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.15 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-2 1.4.15-2
debian/libxstream-java(Debian:13) < 1.4.15-2 1.4.15-2
debian/libxstream-java(Debian:14) < 1.4.15-2 1.4.15-2
x-stream xstream = < 1.4.16 No fix listed
netapp oncommand insight All versions No fix listed
apache activemq < 5.15.14 5.15.14
apache activemq = 5.16.0 No fix listed
apache activemq = 5.16.1 No fix listed
apache jmeter < 5.5 5.5
xstream < 1.4.16 1.4.16
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
debian linux = 11.0 No fix listed
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
fedoraproject fedora = 35 No fix listed
oracle banking enterprise default management = 2.10.0 No fix listed
oracle banking enterprise default management = 2.12.0 No fix listed
oracle banking platform = 2.4.0 No fix listed
oracle banking platform = 2.7.1 No fix listed
oracle banking platform = 2.9.0 No fix listed
oracle banking platform = 2.12.0 No fix listed
oracle banking virtual account management = 14.2.0 No fix listed
oracle banking virtual account management = 14.3.0 No fix listed
oracle banking virtual account management = 14.5.0 No fix listed
oracle business activity monitoring = 11.1.1.9.0 No fix listed
oracle business activity monitoring = 12.2.1.3.0 No fix listed
oracle business activity monitoring = 12.2.1.4.0 No fix listed
oracle communications billing and revenue management elastic charging engine = 12.0.0.3.0 No fix listed
oracle communications policy management = 12.5.0 No fix listed
oracle communications unified inventory management = 7.3.2 No fix listed
oracle communications unified inventory management = 7.3.4 No fix listed
oracle communications unified inventory management = 7.3.5 No fix listed
oracle communications unified inventory management = 7.4.0 No fix listed
oracle communications unified inventory management = 7.4.1 No fix listed
oracle retail xstore point of service = 16.0.6 No fix listed
oracle retail xstore point of service = 17.0.4 No fix listed
oracle retail xstore point of service = 18.0.3 No fix listed
oracle retail xstore point of service = 19.0.2 No fix listed
oracle webcenter portal = 11.1.1.9.0 No fix listed
oracle webcenter portal = 12.2.1.3.0 No fix listed
oracle webcenter portal = 12.2.1.4.0 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.2 1.4.11.1-1~18.04.2
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:18.04) = 1.4.11.1-1~18.04.1 No fix listed
ubuntu/libxstream-java(Ubuntu:20.04) < 1.4.11.1-1ubuntu0.2 1.4.11.1-1ubuntu0.2
ubuntu/libxstream-java(Ubuntu:20.04) = 1.4.11.1-1 No fix listed
ubuntu/libxstream-java(Ubuntu:20.04) = 1.4.11.1-1ubuntu0.1 No fix listed

References