CVE-2021-21346
Also known as: GHSA-4hrm-m67v-5cxr
EU Vulnerability Database: EUVD-2021-0596
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 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.
Severity
CVSS 3.x
6.1
- Exploitability
- 1.6
- Impact
- 4
- AV:N
- AC:H
- PR:N
- UI:R
- S:C
- C:N
- I:H
- A:N
CVSS 2.0
7.5
- Exploitability
- 10
- Impact
- 6.4
- AV:N
- AC:L
- Au:N
- C:P
- I:P
- A:P
Weakness Enumeration
Change History
Last Modified: Oct 7, 2026
Affected Packages
Maven com.thoughtworks.xstream:xstream: >= 0, < 1.4.16
Known Affected Software Configurations
cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:activemq:5.16.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:activemq:5.16.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:jmeter:*:*:*:*:*:*:*:*
cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*
cpe:2.3:a:oracle:banking_enterprise_default_management:2.10.0:*:*:*:*:*:*:*
cpe:2.3:a:oracle:banking_enterprise_default_management:2.12.0:*:*:*:*:*:*:*
cpe:2.3:a:oracle:banking_platform:2.12.0:*:*:*:*:*:*:*
cpe:2.3:a:oracle:banking_platform:2.4.0:*:*:*:*:*:*:*
cpe:2.3:a:oracle:banking_platform:2.7.1:*:*:*:*:*:*:*
References to Advisories, Solutions, and Tools
[security-advisories@github.com] Release Notes, Third Party Advisory
[security-advisories@github.com] Third Party Advisory
[security-advisories@github.com] Issue Tracking, Mailing List, Third Party Advisory
[security-advisories@github.com] Issue Tracking, Mailing List, Third Party Advisory
[security-advisories@github.com] Mailing List, Third Party Advisory
[security-advisories@github.com] Mailing List, Third Party Advisory
[security-advisories@github.com] Mailing List, Third Party Advisory
[security-advisories@github.com] Mailing List, Third Party Advisory
[security-advisories@github.com] Third Party Advisory
[security-advisories@github.com] Mailing List, Third Party Advisory