High severity · published Mar 22, 2021
CVE-2021-21341
XStream can cause a Denial of Service
7.5
CVSS
77.8%
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 vulnerability which 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. 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:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)77.8% · 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
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
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
OI
Oncommand Insight · Netapp
All versions, or not specified · source: NVD
RX
Retail Xstore Point OF Service · Oracle
16.0.6; 17.0.4; 18.0.3; 19.0.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-21341
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-21341
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-2p3x-qw9c-25hh
x_refsource_MISC
https://x-stream.github.io/CVE-2021-21341.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
