CVE-2021-21350

unknown
Published 2021-03-22 · Modified 2026-03-13
CVSS v3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS v2
VIR risk

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 execute arbitrary code 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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-21350

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-21350.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed1.4.15-2
debian debianbullseyefixed1.4.15-2
debian debianforkyfixed1.4.15-2
debian debiansidfixed1.4.15-2
debian debiantrixiefixed1.4.15-2

Package impact

EcosystemPackageVulnerableFixed
java Mavencom.thoughtworks.xstream:xstream<1.4.161.4.16

References

Verify integrity in audit chain (admin only). AS-IS.