Deserialization of Untrusted Data The advisory has been revoked - it doesn't affect any version of package xstream.src  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
88.09% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-XSTREAMSRC-15340109
  • published25 Feb 2026
  • disclosed12 Mar 2021

Introduced: 12 Mar 2021

CVE-2021-21345  (opens in a new tab)
CWE-502  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xstream.src package and not the xstream.src package as distributed by RHEL.

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 who has sufficient rights to execute commands of the 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.

References