CVE-2021-21351: XStream is vulnerable to an Arbitrary Code Execution attack

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 may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. 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:22 PM
DescriptionSeverityAffected Software
Aug 26, 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-21351?

CVE-2021-21351 is a vulnerability in XStream, a Java library used to serialize objects to XML and back again.

2

What is the severity of CVE-2021-21351?

CVE-2021-21351 has a severity rating of critical with a score of 9.1.

3

How does CVE-2021-21351 work?

CVE-2021-21351 allows a remote attacker to load and execute arbitrary code from a remote host by manipulating the processed input stream in XStream.

4

Which software versions are affected by CVE-2021-21351?

XStream versions before 1.4.16 are affected by CVE-2021-21351.

5

How can I fix CVE-2021-21351?

To fix CVE-2021-21351, you should update XStream to version 1.4.16 or higher.

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