Skip to main content
HIGH

CVE-2021-21349

CVSS v3

8.6

HIGH

EPSS Score

46.8 %

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-21349 Red Hat Product Security6 products fixed · 14 known affected

    XStream: SSRF can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host

    xstream as a component of Red Hat BPM Suite 6 · xstream as a component of Red Hat Enterprise Linux 7 · xstream-javadoc as a component of Red Hat Enterprise Linux 7

  • RHSA-2022:1029 Red Hat Product Security1 product fixed

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

  • 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: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

1 more advisory

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 request data from internal resources that are not publicly available 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-21349?

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 request data from internal resources that are not publicly available 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-21349 actively exploited?

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

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

CVE-2021-21349 has a CVSS v3 base score of 8.6 (HIGH 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