CVE-2021-43859

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

HIGH
7.5
CVSS Score
Published: February 1, 2022 at 12:08 PM UTC
Updated: June 17, 2026 at 04:11 AM UTC
11 products affected across 5 vendorsDebian LinuxFedoraJenkins

Using xstream by x-stream?

Get instant alerts when new vulnerabilities affect xstream - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 8%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Jenkins· Jenkinsjenkins-plugin
95%
v < 2.319.32.321 ≤ v < 2.334
Affected range stops below 2.319.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.334, so it looks safe — our inference, not a vendor statement
v < 12.0.0.4.612.0.0.5.0
Affected range stops below 12.0.0.4.6, so it looks safe — our inference, not a vendor statement
8.0.0 ≤ v ≤ 8.1.08.2.0 ≤ v ≤ 8.2.6

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card