Description
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. A user is only affected if using the version out of the box with JDK 1.7u21 or below. However, this scenario can be adjusted easily to an external Xalan that works regardless of the version of the Java runtime. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
Published: 2021-08-23
Score: 8.5 High
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-2769-1 libxstream-java security update
Debian DSA Debian DSA DSA-5004-1 libxstream-java security update
EUVD EUVD EUVD-2021-1590 XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. A user is only affected if using the version out of the box with JDK 1.7u21 or below. However, this scenario can be adjusted easily to an external Xalan that works regardless of the version of the Java runtime. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
Github GHSA Github GHSA GHSA-64xx-cq4q-mf44 XStream is vulnerable to an Arbitrary Code Execution attack
Ubuntu USN Ubuntu USN USN-5946-1 XStream vulnerabilities
History

Fri, 23 May 2025 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Xstream
Xstream xstream
CPEs cpe:2.3:a:xstream_project:xstream:*:*:*:*:*:*:*:* cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*
Vendors & Products Xstream Project
Xstream Project xstream
Xstream
Xstream xstream

Subscriptions

Debian Debian Linux
Fedoraproject Fedora
Netapp Snapmanager
Oracle Business Activity Monitoring Commerce Guided Search Communications Billing And Revenue Management Elastic Charging Engine Communications Cloud Native Core Automated Test Suite Communications Cloud Native Core Binding Support Function Communications Cloud Native Core Policy Communications Unified Inventory Management Retail Xstore Point Of Service Utilities Framework Utilities Testing Accelerator Webcenter Portal
Redhat Camel Quarkus Enterprise Linux Integration Jboss Data Grid Jboss Enterprise Bpms Platform Jboss Enterprise Brms Platform
Xstream Xstream
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-04T01:58:18.173Z

Reserved: 2021-08-16T00:00:00.000Z

Link: CVE-2021-39139

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-08-23T18:15:10.540

Modified: 2025-05-23T16:52:49.707

Link: CVE-2021-39139

cve-icon Redhat

Severity : Important

Publid Date: 2021-08-22T00:00:00Z

Links: CVE-2021-39139 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses