Vulnerabilities

CVE-2021-21343

High 7.5 CVSS 3.1

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 where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in the deletion of a file on the local host. 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.

Description as published by the source, in English.

Key facts

Published
2021-03-23
Last modified
2026-10-07
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
46.7 % higher than 99 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Apache Activemq < 5.15.14 Affected
Apache Activemq 5.16.0 Affected
Apache Activemq 5.16.1 Affected
Apache Jmeter < 5.5 Affected
Debian Debian Linux 10.0 Affected
Debian Debian Linux 11.0 Affected
Debian Debian Linux 9.0 Affected
Fedoraproject Fedora 33 Affected
Fedoraproject Fedora 34 Affected
Fedoraproject Fedora 35 Affected
Netapp Oncommand Insight all versions listed Affected
Oracle Banking Enterprise Default Management 2.10.0 Affected
Oracle Banking Enterprise Default Management 2.12.0 Affected
Oracle Banking Platform 2.12.0 Affected
Oracle Banking Platform 2.4.0 Affected
Oracle Banking Platform 2.7.1 Affected
Oracle Banking Platform 2.9.0 Affected
Oracle Banking Virtual Account Management 14.2.0 Affected
Oracle Banking Virtual Account Management 14.3.0 Affected
Oracle Banking Virtual Account Management 14.5.0 Affected
Oracle Business Activity Monitoring 11.1.1.9.0 Affected
Oracle Business Activity Monitoring 12.2.1.3.0 Affected
Oracle Business Activity Monitoring 12.2.1.4.0 Affected
Oracle Communications Billing And Revenue Management Elastic Charging Engine 12.0.0.3.0 Affected
Oracle Communications Policy Management 12.5.0 Affected
Oracle Communications Unified Inventory Management 7.3.2 Affected
Oracle Communications Unified Inventory Management 7.3.4 Affected
Oracle Communications Unified Inventory Management 7.3.5 Affected
Oracle Communications Unified Inventory Management 7.4.0 Affected
Oracle Communications Unified Inventory Management 7.4.1 Affected
Oracle Retail Xstore Point Of Service 16.0.6 Affected
Oracle Retail Xstore Point Of Service 17.0.4 Affected
Oracle Retail Xstore Point Of Service 18.0.3 Affected
Oracle Retail Xstore Point Of Service 19.0.2 Affected
Oracle Webcenter Portal 11.1.1.9.0 Affected
Oracle Webcenter Portal 12.2.1.3.0 Affected
Oracle Webcenter Portal 12.2.1.4.0 Affected
Xstream Xstream < 1.4.16 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1027: Obfuscated Files or Information stealth
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.007: Path Interception by PATH Environment Variable stealth, execution

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities