CVE-2021-21348: XStream is vulnerable to an attack using Regular Expression for a Denial of Service (ReDos)

Published Mar 12, 2021
·
Updated

Last updated 22 August 2024

Other sources

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to occupy a thread that consumes maximum CPU time and will never return. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

Affected Software

42 affected componentsFixes available
redhat/xstream<1.4.16
1.4.16
debian/libxstream-java
1.4.15-3+deb11u21.4.15-3+deb11u31.4.20-1+deb12u11.4.21-1
Xstream Project Xstream<1.4.16
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Oracle Banking Enterprise Default Management=2.10.0
Oracle Banking Enterprise Default Management=2.12.0
Oracle Banking Platform=2.4.0
Oracle Banking Platform=2.7.1
Oracle Banking Platform=2.9.0
Oracle Banking Platform=2.12.0
Oracle Banking Virtual Account Management=14.2.0
Oracle Banking Virtual Account Management=14.3.0
Oracle Banking Virtual Account Management=14.5.0
Oracle Business Activity Monitoring=11.1.1.9.0
Oracle Business Activity Monitoring=12.2.1.3.0
Oracle Business Activity Monitoring=12.2.1.4.0
Oracle Communications Billing And Revenue Management Elastic Charging Engine=12.0.0.3.0
Oracle Communications Policy Management=12.5.0
Oracle Communications Unified Inventory Management=7.3.2
Oracle Communications Unified Inventory Management=7.3.4
Oracle Communications Unified Inventory Management=7.3.5
Oracle Communications Unified Inventory Management=7.4.0
Oracle Communications Unified Inventory Management=7.4.1
Oracle MySQL Server<=8.0.27
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 WebCenter Portal=11.1.1.9.0
Oracle WebCenter Portal=12.2.1.3.0
Oracle WebCenter Portal=12.2.1.4.0
NetApp OnCommand Insight
Apache ActiveMQ<5.15.14
Apache ActiveMQ=5.16.0
Apache ActiveMQ=5.16.1
Apache JMeter<5.5
XStream XStream<1.4.16

Event History

Mar 12, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 22, 2021
CVE Published
via MITRE·11:45 PM
Data Sourced
via MITRE·11:45 PM
DescriptionSeverityWeakness
Mar 24, 2021
Data Sourced
via Red Hat·04:14 PM
DescriptionSeverityAffected Software
Aug 22, 2024
Data Sourced
via Launchpad·04:27 PM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·04:29 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-21348?

CVE-2021-21348 is a vulnerability in the XStream Java library that allows a remote attacker to consume maximum CPU time.

2

How does CVE-2021-21348 affect users?

Users who have not updated to XStream version 1.4.16 are affected by CVE-2021-21348.

3

What is the severity of CVE-2021-21348?

CVE-2021-21348 has a severity level of 7.5 (High).

4

How can I fix CVE-2021-21348?

To fix CVE-2021-21348, users should update to XStream version 1.4.16 or above.

5

Where can I find more information about CVE-2021-21348?

You can find more information about CVE-2021-21348 in the references provided: [GitHub Advisory](https://github.com/x-stream/xstream/security/advisories/GHSA-56p8-3fh9-4cvq), [XStream Advisory](https://x-stream.github.io/CVE-2021-21348.html), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1942634).

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203