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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-2924-1 libxstream-java security update
Debian DLA Debian DLA DLA-4001-1 libxstream-java security update
EUVD EUVD EUVD-2022-1176 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.
Github GHSA Github GHSA GHSA-rmr5-cpv2-vgjf Denial of Service by injecting highly recursive collections or maps in XStream
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.01535}

epss

{'score': 0.01665}


Fri, 23 May 2025 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Jenkins
Jenkins jenkins
Xstream
Xstream xstream
CPEs cpe:2.3:a:xstream_project:xstream:*:*:*:*:*:*:*:* cpe:2.3:a:jenkins:jenkins:*:*:*:*:*:*:*:*
cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*
Vendors & Products Xstream Project
Xstream Project xstream
Jenkins
Jenkins jenkins
Xstream
Xstream xstream

Tue, 22 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-22T18:27:42.489Z

Reserved: 2021-11-16T00:00:00.000Z

Link: CVE-2021-43859

cve-icon Vulnrichment

Updated: 2024-08-04T04:10:17.199Z

cve-icon NVD

Status : Analyzed

Published: 2022-02-01T12:15:08.080

Modified: 2025-05-23T16:53:31.780

Link: CVE-2021-43859

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-01-29T00:00:00Z

Links: CVE-2021-43859 - Bugzilla

cve-icon OpenCVE Enrichment

No data.