CVE-2021-43859

7.5 HIGH
Published: February 01, 2022 Modified: November 03, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.openwall.com/lists/oss-security/2022/02/09/1
Source: security-advisories@github.com
Mailing List Third Party Advisory
https://github.com/x-stream/xstream/commit/e8e88621ba1c85ac3b8620337dd672e0c0c3a846
Source: security-advisories@github.com
Patch Third Party Advisory
https://github.com/x-stream/xstream/security/advisories/GHSA-rmr5-cpv2-vgjf
Source: security-advisories@github.com
Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/02/msg00018.html
Source: security-advisories@github.com
Mailing List Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.html
Source: security-advisories@github.com
Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html
Source: security-advisories@github.com
Patch Third Party Advisory
https://x-stream.github.io/CVE-2021-43859.html
Source: security-advisories@github.com
Exploit Vendor Advisory
http://www.openwall.com/lists/oss-security/2022/02/09/1
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://github.com/x-stream/xstream/commit/e8e88621ba1c85ac3b8620337dd672e0c0c3a846
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://github.com/x-stream/xstream/security/advisories/GHSA-rmr5-cpv2-vgjf
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/02/msg00018.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.html
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://x-stream.github.io/CVE-2021-43859.html
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Vendor Advisory

19 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
1.9%
83th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

xstream jenkins fedoraproject oracle debian