Skip to main content
CRITICAL

CVE-2021-21347

CVSS v3

9.8

CRITICAL

EPSS Score

14.3 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for xstream.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • activemqBitnamiall versions · fixed in 5.15.14
  • com.thoughtworks.xstream:xstreamMavenall versions · fixed in 1.4.16

Vendor advisories

  • CVE-2021-21347 Red Hat Product Security18 products fixed · 10 known affected

    XStream: Unsafe deserizaliation of com.sun.tools.javac.processing.JavacProcessingEnvironment NameProcessIterator

    xstream as a component of Red Hat BPM Suite 6 · xstream as a component of Red Hat Integration Camel K 1 · xstream as a component of Red Hat JBoss A-MQ 6

  • RHSA-2021:5134 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Fuse 7.10.0 release and security update

  • RHSA-2021:4918 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Integration Camel-K 1.6 release and security update

  • RHSA-2021:4767 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Integration Camel Extensions for Quarkus GA security update

  • RHSA-2021:2476 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Decision Manager 7.11.0 security update

  • RHSA-2021:2475 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Process Automation Manager 7.11.0 security update

2 more advisories

Full record on NVD

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.

Technical details

Published
2021-03-23

Frequently asked questions

What is CVE-2021-21347?

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.

Is CVE-2021-21347 actively exploited?

Active exploitation of CVE-2021-21347 has not been confirmed. Its EPSS score was 14.3% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-21347?

CVE-2021-21347 has a CVSS v3 base score of 9.8 (CRITICAL severity).

Running xstream? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month