CVE-2021-43859
HIGH 7.5CVSS 3.1Denial of Service by injecting highly recursive collections or maps in XStream
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
- 1 Feb 2022
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-502
- Also known as
- BIT-jenkins-2021-43859GHSA-rmr5-cpv2-vgjf
- Sources
- NVDJSONOSV GHSA-rmr5-cpv2-vgjfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:*:*:*:* |
< 2.319.3 | 2.319.3 |
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:*:*:*:* |
>= 2.321, < 2.334 | 2.334 |
| NVD | xstream | xstreamcpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:* |
< 1.4.19 | 1.4.19 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | oracle | commerce_guided_searchcpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:* |
= 11.3.2 | |
| NVD | oracle | communications_brm_-_elastic_charging_enginecpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:*:*:*:*:*:*:*:* |
< 12.0.0.4.6 | 12.0.0.4.6 |
| NVD | oracle | communications_brm_-_elastic_charging_enginecpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:12.0.0.5.0:*:*:*:*:*:*:* |
= 12.0.0.5.0 | |
| NVD | oracle | communications_cloud_native_core_automated_test_suitecpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.9.0:*:*:*:*:*:*:* |
= 1.9.0 | |
| NVD | oracle | communications_diameter_intelligence_hubcpe:2.3:a:oracle:communications_diameter_intelligence_hub:*:*:*:*:*:*:*:* |
>= 8.0.0, <= 8.1.0 | |
| NVD | oracle | communications_diameter_intelligence_hubcpe:2.3:a:oracle:communications_diameter_intelligence_hub:*:*:*:*:*:*:*:* |
>= 8.2.0, <= 8.2.6 | |
| NVD | oracle | communications_policy_managementcpe:2.3:a:oracle:communications_policy_management:12.6.0.0.0:*:*:*:*:*:*:* |
= 12.6.0.0.0 | |
| NVD | oracle | flexcube_private_bankingcpe:2.3:a:oracle:flexcube_private_banking:12.1.0:*:*:*:*:*:*:* |
= 12.1.0 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:* |
= 16.0.6 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:17.0.4:*:*:*:*:*:*:* |
= 17.0.4 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:18.0.3:*:*:*:*:*:*:* |
= 18.0.3 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:19.0.2:*:*:*:*:*:*:* |
= 19.0.2 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:20.0.1:*:*:*:*:*:*:* |
= 20.0.1 | |
| OSV | Maven | com.thoughtworks.xstream:xstream | < 1.4.19 | 1.4.19 |
References
- http://www.openwall.com/lists/oss-security/2022/02/09/1 · Mailing List, Third Party Advisory, WEB
- https://github.com/x-stream/xstream/commit/e8e88621ba1c85ac3b8620337dd672e0c0c3a846 · Patch, Third Party Advisory, WEB
- https://github.com/x-stream/xstream/security/advisories/GHSA-rmr5-cpv2-vgjf · Exploit, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/02/msg00018.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VACQYG356OHUTD5WQGAQ4L2TTFTAV3SJ/ · Mailing List, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XODFRE2ZL64FICBJDOPWOLPTSSAI4U7X/ · Mailing List, WEB
- https://www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://x-stream.github.io/CVE-2021-43859.html · Exploit, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2024/12/msg00023.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43859 · ADVISORY
- https://github.com/x-stream/xstream · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VACQYG356OHUTD5WQGAQ4L2TTFTAV3SJ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XODFRE2ZL64FICBJDOPWOLPTSSAI4U7X · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Feb 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Feb 2022)