cve.bz

CVE-2021-21349 SSRF

8.6 highExploit referenceEPSS 47%Fix available

High (8.6). EPSS 47% estimated probability of exploitation activity in the next 30 days. Fixed in com.thoughtworks.xstream:xstream 1.4.16.

On this page
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.

Severity

CVSS 3.1

8.6 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS
47% (unchanged from 47% a week ago; 47% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-918 Server-Side Request Forgery (SSRF)
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A01:2025 Broken Access Control, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-21349 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21349?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21349?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-21349 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-21349

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-21349](https://cve.bz/cve/badge/CVE-2021-21349.svg)](https://cve.bz/cve/CVE-2021-21349)

HTML:

<a href="https://cve.bz/cve/CVE-2021-21349"><img src="https://cve.bz/cve/badge/CVE-2021-21349.svg" alt="CVE-2021-21349"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:activemqbefore 5.15.14
apache:activemq5.16.0
apache:activemq5.16.1
apache:jmeterbefore 5.5
xstream:xstreambefore 1.4.16
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
fedoraproject:fedora33
fedoraproject:fedora34
fedoraproject:fedora35
oracle:banking_enterprise_default_management2.10.0
oracle:banking_enterprise_default_management2.12.0
oracle:banking_platform2.4.0
oracle:banking_platform2.7.1
oracle:banking_platform2.9.0
oracle:banking_platform2.12.0
oracle:banking_virtual_account_management14.2.0
oracle:banking_virtual_account_management14.3.0
oracle:banking_virtual_account_management14.5.0
oracle:business_activity_monitoring11.1.1.9.0
oracle:business_activity_monitoring12.2.1.3.0
oracle:business_activity_monitoring12.2.1.4.0
oracle:communications_billing_and_revenue_management_elastic_charging_engine12.0.0.3.0
oracle:communications_policy_management12.5.0
oracle:communications_unified_inventory_management7.3.2
oracle:communications_unified_inventory_management7.3.4
oracle:communications_unified_inventory_management7.3.5
oracle:communications_unified_inventory_management7.4.0
oracle:communications_unified_inventory_management7.4.1
oracle:graalvm20.3.4
oracle:graalvm21.3.0
oracle:java_se7u321
oracle:java_se8u311
oracle:retail_xstore_point_of_service16.0.6
oracle:retail_xstore_point_of_service17.0.4
oracle:retail_xstore_point_of_service18.0.3
oracle:retail_xstore_point_of_service19.0.2
oracle:webcenter_portal11.1.1.9.0
oracle:webcenter_portal12.2.1.3.0
oracle:webcenter_portal12.2.1.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f6hm-88x3-mfjvMavencom.thoughtworks.xstream:xstream<1.4.161.4.16

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libxstream-java1.4.11.1-1+deb9u2DLA-2616-1
Debian12, 13, 14libxstream-java1.4.15-2DEBIAN-CVE-2021-21349
Ubuntu18.04:LTSlibxstream-java1.4.11.1-1~18.04.2UBUNTU-CVE-2021-21349 USN-4943-1
Ubuntu20.04:LTSlibxstream-java1.4.11.1-1ubuntu0.2UBUNTU-CVE-2021-21349 USN-4943-1
UbuntuPro:14.04:LTSlibxstream-java1.4.7-1ubuntu0.1+esm2UBUNTU-CVE-2021-21349 USN-6978-1
UbuntuPro:16.04:LTSlibxstream-java1.4.8-1ubuntu0.1+esm3UBUNTU-CVE-2021-21349 USN-6978-1
SUSELinux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3, Manager Server Module 4.1xstream1.4.16-3.8.1SUSE-SU-2021:1840-1
SUSEManager Server Module 4.2xstream1.4.16-3.8.1SUSE-SU-2021:1840-2
openSUSELeap 15.2xstream1.4.16-lp152.2.6.1openSUSE-SU-2021:0832-1
openSUSELeap 15.3xstream1.4.16-3.8.1openSUSE-SU-2021:1840-1
openSUSETumbleweedxstream1.4.18-1.1openSUSE-SU-2024:10592-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

OpenShift Container Platform (OCP) delivers Jenkins LTS package with bundled XStream library. Due to JEP-200 [1] and JEP-228 [2] Jenkins projects, OCP Jenkins package is not affected by this flaw.

[1] https://github.com/jenkinsci/jep/blob/master/jep/200/README.adoc

[2] https://github.com/jenkinsci/jep/blob/master/jep/228/README.adoc#security

ProductPackageStateAdvisory
Red Hat Data Grid 8.2.0xstreamFixed 2021-05-26RHSA-2021:2139
Red Hat Fuse 7.10xstreamFixed 2021-12-14RHSA-2021:5134
Red Hat Integration Camel Quarkus 2Fixed 2021-11-23RHSA-2021:4767
RHDM 7.11.0xstreamFixed 2021-06-17RHSA-2021:2476
RHINT Camel-K 1.6.4Fixed 2022-03-23RHSA-2022:1029
RHPAM 7.11.0xstreamFixed 2021-06-17RHSA-2021:2475
Red Hat BPM Suite 6xstreamOut of support scope
Red Hat Enterprise Linux 7xstreamOut of support scope
Red Hat Integration Camel K 1xstreamAffected
Red Hat Integration Camel Quarkus 1xstreamAffected
Red Hat JBoss A-MQ 6xstreamOut of support scope
Red Hat JBoss BRMS 5xstreamOut of support scope
Red Hat JBoss BRMS 6xstreamOut of support scope
Red Hat JBoss Data Grid 7xstreamOut of support scope
Red Hat JBoss Data Virtualization 6xstreamOut of support scope
Red Hat JBoss Fuse 6xstreamOut of support scope
Red Hat JBoss Fuse Service Works 6xstreamOut of support scope
Red Hat JBoss SOA Platform 5xstreamOut of support scope
Red Hat OpenShift Container Platform 3.11jenkinsNot affected
Red Hat OpenShift Container Platform 4jenkinsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-21349.

Attack patterns (CAPEC)

  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High
  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON