CVE-2021-43859
A public proof of concept exists; no exploitation attested.
- Published2022-02-01
- Fixed in1.4.19
- WeaknessCWE-400
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-02-0112:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.4 | < 1.4.19 | 1.4.19 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 16.0 | = 16.0.6 | no fix published | NVD |
| 17.0 | = 17.0.4 | no fix published | NVD |
| 18.0 | = 18.0.3 | no fix published | NVD |
| 19.0 | = 19.0.2 | no fix published | NVD |
| 20.0 | = 20.0.1 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.321, < 2.334 | 2.334 | NVD |
| 2.x | ≥ 2.321.0, < 2.334.0 | 2.334.0 | OSV |
| 2.319 | < 2.319.3 | 2.319.3 | NVD · OSV |
8 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- x-stream xstreamAffected
- = < 1.4.19no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2022-07-25
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- com.thoughtworks.xstream:xstreamTuxCare:Mavenfrom 1.4.17 · fixed in 1.4.17-tuxcare.2
- com.thoughtworks.xstream:xstreamRed Hat Lightwell:Mavenall versions · fixed in 1.4.18.rhlw-00006
- hadoop-fips-3.3.6Chainguardall versions · no fixed version listedand 1 other package
- jenkinsRed Hat:openshift:3.11::el7all versions · fixed in 0:2.319.3.1650348949-1.el7
- jenkins-2-pluginsRed Hat:openshift:3.11::el7all versions · fixed in 0:3.11.1650371376-1.el7
- libxstream-javaUbuntu:Pro:16.04:LTSall versions · no fixed version listed
- libxstream-javaUbuntu:Pro:14.04:LTSall versions · no fixed version listed
- libxstream-javaUbuntu:26.10all versions · no fixed version listed
21 more package ranges on OSV.dev
Vendor advisories
xstream: Injecting highly recursive collections or maps can cause a DoS
xstream as a component of Red Hat BPM Suite 6 · xstream as a component of Red Hat Data Grid 8 · xstream as a component of Red Hat Decision Manager 7 · +16 more
Red Hat Security Advisory: Red Hat Integration Camel Extensions for Quarkus 2.7 security update
Red Hat Security Advisory: Red Hat Fuse 7.11.0 release and security update
Red Hat Security Advisory: OpenShift Container Platform 3.11.685 security and bug fix update
Fix
- Update Xstream to 1.4.19
- Vendor fix Red Hat Product Security RHSA-2022:5606 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:5532 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Installation instructions are available from the Fuse 7.11.0 product documentation page: https://access.redhat.com/documentation/en-us/red_ha…
- Vendor fix Red Hat Product Security RHSA-2022:1420 · 2 productsFor OpenShift Container Platform 3.11 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/3.11/release_notes/ocp_3_1…
- No fix available, says the vendor Red Hat Product Security CVE-2021-43859 · 6 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2021-43859 · 12 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2021-43859 · 1 productWill not fix
Advisories and patches
- github.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
- x-stream.github.ioVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-22
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-22
- CNACVSS 3.17.5known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- CNAweakness (CWE)CWE-400known since 2026-10-23
- NVDweakness (CWE)CWE-400read 2026-10-23
- FIRST EPSSEPSS score8.5 %2026-12-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2022-01-31
Identifiers
- BIT-jenkins-2021-43859same flawBitnami · Apache-2.0
- CGA-52hf-hr4r-4wphsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c2wf-3h79-j572same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g6xm-cx2f-6vcfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hq8q-j58p-47p4same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2022-1176same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-rmr5-cpv2-vgjfsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-2924-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-4001-1advisory covering several CVEsDebian · LicenseRef-unstated
- OESA-2022-1512advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2022-2066advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2022:0817-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11809-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2022:1420advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2022:0817-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-02-01
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-rmr5-cpv2-vgjf
Frequently asked questions
What is CVE-2021-43859?
Is CVE-2021-43859 actively exploited?
What is the CVSS score for CVE-2021-43859?
Running xstream? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-rmr5-cpv2-vgjf
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0