7.5
CWE
400 770
Advisory Published
CVE Published
Updated

CVE-2021-43859: Denial of Service by injecting highly recursive collections or maps in XStream

First published: Sat Jan 29 2022(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
redhat/jenkins<0:2.319.3.1650348949-1.el7
0:2.319.3.1650348949-1.el7
redhat/xstream<1.4.19
1.4.19
Xstream Project Xstream<1.4.19
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=9.0
Oracle Commerce Guided Search=11.3.2
Oracle Communications Brm - Elastic Charging Engine<12.0.0.4.6
Oracle Communications Brm - Elastic Charging Engine=12.0.0.5.0
Oracle Communications Cloud Native Core Automated Test Suite=1.9.0
Oracle Communications Diameter Intelligence Hub>=8.0.0<=8.1.0
Oracle Communications Diameter Intelligence Hub>=8.2.0<=8.2.6
Oracle Communications Policy Management=12.6.0.0.0
Oracle FLEXCUBE Private Banking=12.1.0
Oracle Retail Xstore Point of Service=16.0.6
Oracle Retail Xstore Point of Service=17.0.4
Oracle Retail Xstore Point of Service=18.0.3
Oracle Retail Xstore Point of Service=19.0.2
Oracle Retail Xstore Point of Service=20.0.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-43859?

    CVE-2021-43859 is a vulnerability in XStream, an open source Java library, that allows a remote attacker to allocate 100% CPU time on the target system resulting in a denial of service.

  • What is the severity of CVE-2021-43859?

    CVE-2021-43859 has a severity rating of 7.5 out of 10, which is considered high.

  • How does CVE-2021-43859 affect XStream?

    CVE-2021-43859 affects XStream versions prior to 1.4.19.

  • How can I fix CVE-2021-43859?

    To fix CVE-2021-43859, update XStream to version 1.4.19 or later.

  • Where can I find more information about CVE-2021-43859?

    You can find more information about CVE-2021-43859 on the GitHub Security Advisory page and the XStream CVE-2021-43859 page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203