Server-Side Request Forgery (SSRF) The advisory has been revoked - it doesn't affect any version of package xstream.src  (opens in a new tab)


Threat Intelligence

EPSS
0.87% (76th 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-15340110
  • published25 Feb 2026
  • disclosed12 Mar 2021

Introduced: 12 Mar 2021

CVE-2021-21342  (opens in a new tab)
CWE-918  (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 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 a server-side forgery request. 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