XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability 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.

Project Subscriptions

Vendors Products
Activemq Subscribe
Debian Linux Subscribe
Fedoraproject Subscribe
Oncommand Insight Subscribe
Banking Enterprise Default Management Subscribe
Banking Platform Subscribe
Banking Virtual Account Management Subscribe
Business Activity Monitoring Subscribe
Communications Billing And Revenue Management Elastic Charging Engine Subscribe
Communications Policy Management Subscribe
Communications Unified Inventory Management Subscribe
Mysql Server Subscribe
Retail Xstore Point Of Service Subscribe
Webcenter Portal Subscribe
Camel Quarkus Subscribe
Integration Subscribe
Jboss Data Grid Subscribe
Jboss Enterprise Bpms Platform Subscribe
Jboss Enterprise Brms Platform Subscribe
Jboss Fuse Subscribe
Xstream Subscribe
Xstream Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-2616-1 libxstream-java security update
Debian DSA Debian DSA DSA-5004-1 libxstream-java security update
Github GHSA Github GHSA GHSA-hrcp-8f3q-4w2c XStream is vulnerable to an Arbitrary Code Execution attack
Ubuntu USN Ubuntu USN USN-4943-1 XStream vulnerabilities
Ubuntu USN Ubuntu USN USN-6978-1 XStream vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.91268}

epss

{'score': 0.90494}


Fri, 23 May 2025 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache activemq
Apache jmeter
Netapp
Netapp oncommand Insight
Xstream
Xstream xstream
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:xstream_project:xstream:*:*:*:*:*:*:*:* cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:activemq:5.16.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:activemq:5.16.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:jmeter:*:*:*:*:*:*:*:*
cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*
cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*
Vendors & Products Xstream Project
Xstream Project xstream
Apache
Apache activemq
Apache jmeter
Netapp
Netapp oncommand Insight
Xstream
Xstream xstream

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-03T18:09:15.774Z

Reserved: 2020-12-22T00:00:00

Link: CVE-2021-21351

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-03-23T00:15:13.367

Modified: 2025-05-23T17:34:20.440

Link: CVE-2021-21351

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-03-12T00:00:00Z

Links: CVE-2021-21351 - Bugzilla

cve-icon OpenCVE Enrichment

No data.