Critical severity · published Mar 22, 2021
CVE-2021-21351
XStream is vulnerable to an Arbitrary Code Execution attack
9.1
CVSS
82.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)82.1% · higher than 100% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AC
ActiveMQ · Apache
before 5.15.14; 5.16.0; 5.16.1 · source: NVD
XS
xstream · x-stream
< 1.4.16 · source: vendor, NVD
BE
Banking Enterprise Default Management · Oracle
2.10.0; 2.12.0 · source: NVD
BP
Banking Platform · Oracle
2.4.0; 2.7.1; 2.9.0; 2.12.0 · source: NVD
BV
Banking Virtual Account Management · Oracle
14.2.0; 14.3.0; 14.5.0 · source: NVD
BA
Business Activity Monitoring · Oracle
11.1.1.9.0; 12.2.1.3.0; 12.2.1.4.0 · source: NVD
CB
Communications Billing And Revenue Management Elastic Charging Engine · Oracle
12.0.0.3.0 · source: NVD
CP
Communications Policy Management · Oracle
12.5.0 · source: NVD
CU
Communications Unified Inventory Management · Oracle
7.3.2; 7.3.4; 7.3.5; 7.4.0; 7.4.1 · source: NVD
DL
Debian Linux · Debian
9.0; 10.0; 11.0 · source: NVD
FE
Fedora · Fedoraproject
33; 34; 35 · source: NVD
JM
Jmeter · Apache
before 5.5 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-21351
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-21351
x_refsource_MISC
https://x-stream.github.io/security.html#workaround
x_refsource_MISC
http://x-stream.github.io/changes.html#1.4.16
x_refsource_CONFIRM
https://github.com/x-stream/xstream/security/advisories/GHSA-hrcp-8f3q-4w2c
x_refsource_MISC
https://x-stream.github.io/CVE-2021-21351.html
mailing-list
https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html
mailing-list
https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E
More from ActiveMQ
9.8
CVE-2023-46604
Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack
9.8
CVE-2016-3088
The Fileserver web application in Apache ActiveMQ 5.x before 5.14.0 allows remote attackers to upload and execute arbitrary files via an HTTP PUT followed by an HTTP MOVE request
8.8
CVE-2026-34197
Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeans
9.9
CVE-2021-21345
XStream is vulnerable to a Remote Command Execution attack
9.8
CVE-2021-21350
XStream is vulnerable to an Arbitrary Code Execution attack
