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

Published Mar 12, 2021
·
Updated

A flaw was found in xstream. A remote attacker can load and execute arbitrary code from a remote host by manipulating the processed input stream. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

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 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

45 affected componentsFixes available
redhat/xstream<0:1.3.1-13.el7_9
0:1.3.1-13.el7_9
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 BI Publisher=5.5.0.0.0
Oracle BI Publisher=12.2.1.3.0
Oracle BI Publisher=12.2.1.4.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 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
Mar 22, 2021
CVE Published
via MITRE·11:40 PM
Data Sourced
via MITRE·11:40 PM
DescriptionSeverityWeakness
Mar 24, 2021
Data Sourced
via Red Hat·02:52 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-21346?

CVE-2021-21346 is a vulnerability in the XStream Java library that allows a remote attacker to load and execute arbitrary code by manipulating the input stream.

2

What is the severity of CVE-2021-21346?

The severity of CVE-2021-21346 is high with a CVSS score of 8.1.

3

How does CVE-2021-21346 affect users?

Users who have the affected versions of XStream (1.3.1-13.el7_9 and earlier) are vulnerable to this exploit.

4

How can I fix CVE-2021-21346?

You can fix CVE-2021-21346 by upgrading to version 1.4.16 of XStream or a later version that includes the security patch.

5

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

You can find more information about CVE-2021-21346 on the CVE website (https://www.cve.org/CVERecord?id=CVE-2021-21346) and the NIST NVD database (https://nvd.nist.gov/vuln/detail/CVE-2021-21346).

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