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.
Published: 2022-02-01
Score: 7.5 High
EPSS: 1.9% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

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
History

Mon, 03 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

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'}


Subscriptions

Debian Debian Linux
Fedoraproject Fedora
Jenkins Jenkins
Oracle Commerce Guided Search Communications Brm - Elastic Charging Engine Communications Cloud Native Core Automated Test Suite Communications Diameter Intelligence Hub Communications Policy Management Flexcube Private Banking Retail Xstore Point Of Service
Redhat Camel Quarkus Jboss Fuse Openshift
Xstream Xstream
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-11-03T21:45:34.625Z

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

Link: CVE-2021-43859

cve-icon Vulnrichment

Updated: 2025-11-03T21:45:34.625Z

cve-icon NVD

Status : Modified

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

Modified: 2025-11-03T22:15:52.883

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.

Weaknesses