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 where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in the deletion of a file on the local host. 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.
Published: 2021-03-22
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

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
EUVD EUVD EUVD-2021-0620 XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in the deletion of a file on the local host. 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.
Github GHSA Github GHSA GHSA-74cv-f58x-f9wf XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling as long as the executing process has sufficient rights
Ubuntu USN Ubuntu USN USN-4943-1 XStream vulnerabilities
Ubuntu USN Ubuntu USN USN-6978-1 XStream vulnerabilities
History

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

Subscriptions

Apache Activemq Jmeter
Debian Debian Linux
Fedoraproject Fedora
Netapp Oncommand Insight
Oracle Banking Enterprise Default Management Banking Platform Banking Virtual Account Management Business Activity Monitoring Communications Billing And Revenue Management Elastic Charging Engine Communications Policy Management Communications Unified Inventory Management Retail Xstore Point Of Service Webcenter Portal
Redhat Camel Quarkus Integration Jboss Data Grid Jboss Enterprise Bpms Platform Jboss Enterprise Brms Platform Jboss Fuse
Xstream Xstream
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

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

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

Link: CVE-2021-21343

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

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

Modified: 2025-05-23T17:40:13.823

Link: CVE-2021-21343

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2021-21343 - Bugzilla

cve-icon OpenCVE Enrichment

No data.