Skip to content
OpenAdvisories
High · 7.5 CVE-2021-43859 BIT-jenkins-2021-43859EUVD-2022-1176GHSA-rmr5-cpv2-vgjf

Denial of Service by injecting highly recursive collections or maps in XStream

Published Feb 1, 2022 · Updated Nov 3, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
x-stream xstream < 1.4.19 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxstream-java 1.4.19-1 —
Debian 13 libxstream-java 1.4.19-1 —
Debian 12 libxstream-java 1.4.19-1 —
Debian 11 libxstream-java 1.4.15-3+deb11u3 DLA-4001-1
Debian 9 libxstream-java 1.4.11.1-1+deb9u5 DLA-2924-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libxstream-java No fix yet —
Ubuntu 26.04 LTS libxstream-java No fix yet —
Ubuntu 25.10 libxstream-java No fix yet —
Ubuntu 24.04 LTS libxstream-java No fix yet —
Ubuntu 22.04 LTS libxstream-java No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libxstream-java No fix yet —
Ubuntu 18.04 LTS libxstream-java No fix yet —
Ubuntu Pro 16.04 LTS libxstream-java No fix yet —
Ubuntu Pro 14.04 LTS libxstream-java No fix yet —
ReleasePackageFixed inAdvisory
Red Hat OpenShift 3 jenkins 2.319.3.1650348949-1.el7 RHSA-2022:1420
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1650371376-1.el7 RHSA-2022:1420
ReleasePackageFixed inAdvisory
SLES 15 SP3 xstream 1.4.19-3.18.2 SUSE-SU-2022:0817-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Real Time 15 SP2 xstream 1.4.19-3.18.2 SUSE-SU-2022:0817-1
SUSE Manager Server Module 4.2 xstream 1.4.19-3.18.2 SUSE-SU-2022:0817-1
SUSE Manager Server Module 4.1 xstream 1.4.19-3.18.2 SUSE-SU-2022:0817-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xstream 1.4.19-1.1 openSUSE-SU-2024:11809-1
openSUSE Leap 15.3 xstream 1.4.19-3.18.2 openSUSE-SU-2022:0817-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.thoughtworks.xstream:xstream < 1.4.19 1.4.19 GHSA-rmr5-cpv2-vgjf

Advisories 10

References