XStream is vulnerable to a Remote Command Execution attack

Summary

CVECVE-2021-29505
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-05-28 21:15:08 UTC
Updated2026-10-07 21:17:03 UTC
DescriptionXStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.

Risk And Classification

Primary CVSS: v3.1 8.8 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.772320000 probability, percentile 0.995450000 (date 2026-10-07)

Problem Types: CWE-94 | CWE-502 | CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') | CWE-502 CWE-502: Deserialization of Untrusted Data


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary8.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED7.5HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary6.5AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:S/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 11.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Application Netapp Snapmanager - All All All
Application Netapp Snapmanager - All All All
Application Oracle Banking Cash Management 14.2 All All All
Application Oracle Banking Cash Management 14.3 All All All
Application Oracle Banking Cash Management 14.5 All All All
Application Oracle Banking Corporate Lending Process Management 14.2.0 All All All
Application Oracle Banking Corporate Lending Process Management 14.3.0 All All All
Application Oracle Banking Corporate Lending Process Management 14.5.0 All All All
Application Oracle Banking Credit Facilities Process Management 14.2.0 All All All
Application Oracle Banking Credit Facilities Process Management 14.3.0 All All All
Application Oracle Banking Credit Facilities Process Management 14.5.0 All All All
Application Oracle Banking Supply Chain Finance 14.2.0 All All All
Application Oracle Banking Trade Finance Process Management 14.5.0 All All All
Application Oracle Business Activity Monitoring 11.1.1.9.0 All All All
Application Oracle Business Activity Monitoring 12.2.1.3.0 All All All
Application Oracle Business Activity Monitoring 12.2.1.4.0 All All All
Application Oracle Communications Brm - Elastic Charging Engine 11.3 All All All
Application Oracle Communications Brm - Elastic Charging Engine 12.0 All All All
Application Oracle Communications Unified Inventory Management 7.3.4 All All All
Application Oracle Communications Unified Inventory Management 7.3.5 All All All
Application Oracle Communications Unified Inventory Management 7.4.0 All All All
Application Oracle Communications Unified Inventory Management 7.4.1 All All All
Application Oracle Communications Unified Inventory Management 7.4.2 All All All
Application Oracle Enterprise Manager Ops Center 12.4.0.0 All All All
Application Oracle Retail Customer Insights 15.0.2 All All All
Application Oracle Retail Customer Insights 16.0.2 All All All
Application Oracle Retail Xstore Point Of Service 16.0.6 All All All
Application Oracle Retail Xstore Point Of Service 17.0.4 All All All
Application Oracle Retail Xstore Point Of Service 18.0.3 All All All
Application Oracle Retail Xstore Point Of Service 19.0.2 All All All
Application Oracle Retail Xstore Point Of Service 20.0.1 All All All
Application Oracle Webcenter Portal 12.2.1.3.0 All All All
Application Oracle Webcenter Portal 12.2.1.4.0 All All All
Application Oracle Webcenter Sites 12.2.1.3.0 All All All
Application Oracle Webcenter Sites 12.2.1.4.0 All All All
Application Xstream Xstream All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA X-stream Xstream affected < 1.4.17 Not specified

References

ReferenceSourceLinkTags
Oracle Critical Patch Update Advisory - April 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
Oracle Critical Patch Update Advisory - October 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Mailing List, Third Party Advisory
lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12f... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Issue Tracking, Mailing List
[SECURITY] [DLA 2704-1] libxstream-java security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
Add description of CVE-2021-29505 and bug fix. · x-stream/xstream@24fac82 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227 [email protected] github.com
[SECURITY] Fedora 35 Update: xstream-1.4.18-2.fc35 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List
security.netapp.com/advisory/ntap-20210708-0007 [email protected] security.netapp.com
Oracle Critical Patch Update Advisory - January 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
Oracle Critical Patch Update Advisory - July 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Third Party Advisory
CVE-2021-29505 XStream Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
lists.fedoraproject.org/archives/list/[email protected]/messag... [email protected] lists.fedoraproject.org
Pony Mail! [email protected] lists.apache.org
[SECURITY] Fedora 33 Update: xstream-1.4.18-2.fc33 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List
x-stream.github.io/CVE-2021-29505.html [email protected] x-stream.github.io
[SECURITY] Fedora 34 Update: xstream-1.4.18-2.fc34 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List
lists.fedoraproject.org/archives/list/[email protected]/messag... [email protected] lists.fedoraproject.org
Debian -- Security Information -- DSA-5004-1 libxstream-java af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
lists.fedoraproject.org/archives/list/[email protected]/messag... [email protected] lists.fedoraproject.org
XStream is vulnerable to a Remote Command Execution attack · Advisory · x-stream/xstream · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Third Party Advisory
[SECURITY] Fedora 35 Update: xstream-1.4.18-2.fc35 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 34 Update: xstream-1.4.18-2.fc34 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 33 Update: xstream-1.4.18-2.fc33 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159301 Oracle Enterprise Linux Security Update for xstream (ELSA-2021-2683)
  • 178698 Debian Security Update for libxstream-java (DLA 2704-1)
  • 178889 Debian Security Update for libxstream-java (DSA 5004-1)
  • 178890 Debian Security Update for libxstream-java (DSA 5004-1)
  • 180124 Debian Security Update for libxstream-java (CVE-2021-29505)
  • 239481 Red Hat Update for xstream (RHSA-2021:2683)
  • 257097 CentOS Security Update for xstream (CESA-2021:2683)
  • 281980 Fedora Security Update for xstream (FEDORA-2021-d894ca87dc)
  • 281981 Fedora Security Update for xstream (FEDORA-2021-fbad11014a)
  • 352501 Amazon Linux Security Advisory for xstream: ALAS2-2021-1698
  • 375827 XStream Arbitrary Code Execution And Multiple vulnerabilities
  • 377183 Alibaba Cloud Linux Security Update for xstream (ALINUX2-SA-2021:0043)
  • 730168 Atlassian Jira Server And Data Center Multiple Security Vulnerabilities (JRASERVER-72669, JRASERVER-72575, JRASERVER-72597)
  • 750658 SUSE Enterprise Linux Security Update for xstream (SUSE-SU-2021:1995-1)
  • 750718 OpenSUSE Security Update for xstream (openSUSE-SU-2021:0911-1)
  • 750779 OpenSUSE Security Update for xstream (openSUSE-SU-2021:1995-1)
  • 980137 Java (maven) Security Update for com.thoughtworks.xstream:xstream (GHSA-7chv-rrw6-w6fc)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report