Skip to content

CVE-2021-43859 Denial of Service by injecting highly recursive collections or maps in XStream

HighCVSS 7.5 EPSS 7.9%
Published
Updated
Exploit status
No public exploit known

Description

XStream is an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. XStream 1.4.19 monitors and accumulates the time it takes to add elements to collections and throws an exception if a set threshold is exceeded. Users are advised to upgrade as soon as possible. Users unable to upgrade may set the NO_REFERENCE mode to prevent recursion. See GHSA-rmr5-cpv2-vgjf for further details on a workaround if an upgrade is not possible.

Affected products

ProductAffected versionsFixed in
com.thoughtworks.xstream/xstream(Maven) < 1.4.19 1.4.19
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 77 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.16 No fix listed
com.thoughtworks.xstream/xstream(Maven) = 1.4.17 No fix listed
com.thoughtworks.xstream/xstream(Maven) = 1.4.18 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.19-1 1.4.19-1
debian/libxstream-java(Debian:13) < 1.4.19-1 1.4.19-1
debian/libxstream-java(Debian:14) < 1.4.19-1 1.4.19-1
ubuntu/libxstream-java(Ubuntu:22.04) All versions No fix listed
jenkins < 2.319.3 2.319.3
jenkins >= 2.321, < 2.334 2.334
xstream < 1.4.19 1.4.19
fedoraproject fedora = 34 No fix listed
fedoraproject fedora = 35 No fix listed
debian linux = 9.0 No fix listed
oracle commerce guided search = 11.3.2 No fix listed
oracle Communications BRM - Elastic Charging Engine < 12.0.0.4.6 12.0.0.4.6
oracle Communications BRM - Elastic Charging Engine = 12.0.0.5.0 No fix listed
oracle communications cloud native core automated test suite = 1.9.0 No fix listed
oracle communications diameter intelligence hub >= 8.0.0, <= 8.1.0 No fix listed
oracle communications diameter intelligence hub >= 8.2.0, <= 8.2.6 No fix listed
oracle communications policy management = 12.6.0.0.0 No fix listed
oracle flexcube private banking = 12.1.0 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 retail xstore point of service = 20.0.1 No fix listed
ubuntu/libxstream-java(Ubuntu:24.04) All versions No fix listed
ubuntu/libxstream-java(Ubuntu:26.04) All versions No fix listed
x-stream xstream = < 1.4.19 No fix listed
ubuntu/libxstream-java(Ubuntu:26.10) All versions No fix listed
ubuntu/libxstream-java(Ubuntu:Pro:14.04) All versions No fix listed
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:14.04) = 1.4.7-1ubuntu0.1+esm2 No fix listed
ubuntu/libxstream-java(Ubuntu:Pro:16.04) All versions No fix listed
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:Pro:16.04) = 1.4.8-1ubuntu0.1+esm3 No fix listed
ubuntu/libxstream-java(Ubuntu:18.04) All versions No fix listed
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:18.04) = 1.4.11.1-1~18.04.2 No fix listed
ubuntu/libxstream-java(Ubuntu:18.04) = 1.4.11.1-1+deb10u4build0.18.04.1 No fix listed
ubuntu/libxstream-java(Ubuntu:20.04) All versions No fix listed
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
ubuntu/libxstream-java(Ubuntu:20.04) = 1.4.11.1-1ubuntu0.2 No fix listed
ubuntu/libxstream-java(Ubuntu:20.04) = 1.4.11.1-1ubuntu0.3 No fix listed
ubuntu/libxstream-java(Ubuntu:22.04) = 1.4.15-4 No fix listed
ubuntu/libxstream-java(Ubuntu:22.04) = 1.4.18-2 No fix listed
ubuntu/libxstream-java(Ubuntu:22.04) = 1.4.18-2ubuntu0.1 No fix listed
ubuntu/libxstream-java(Ubuntu:24.04) = 1.4.20-1 No fix listed
ubuntu/libxstream-java(Ubuntu:25.10) All versions No fix listed
ubuntu/libxstream-java(Ubuntu:25.10) = 1.4.21-1 No fix listed
ubuntu/libxstream-java(Ubuntu:26.10) = 1.4.21-1 No fix listed
ubuntu/libxstream-java(Ubuntu:26.04) = 1.4.21-1 No fix listed

References