CVE-2021-43859CWE-400

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

High · published February 1, 2022

CVSS v3.1
7.5
EPSS
8%
Percentile
94.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.07934 · 94.7th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2022-02-01T12:08Z
EPSS history
Timeline
  • 01 FEB 12:08Z
    Denial of Service by injecting highly recursive collections or maps in XStream
    cvelistv5