xstreamproject xstream CVE-2021-29505 vulnerability in Xstreamproject and Other Products
Published on May 28, 2021

XStream is vulnerable to a Remote Command Execution attack

product logo product logo product logo product logo product logo
XStream 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.

Github Repository NVD

Vulnerability Analysis

CVE-2021-29505 can be exploited with network access, and requires small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
NETWORK
Attack Complexity:
HIGH
Privileges Required:
LOW
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Types

What is a Code Injection Vulnerability?

The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

CVE-2021-29505 has been classified to as a Code Injection vulnerability or weakness.

What is a Marshaling, Unmarshaling Vulnerability?

The application deserializes untrusted data without sufficiently verifying that the resulting data will be valid.

CVE-2021-29505 has been classified to as a Marshaling, Unmarshaling vulnerability or weakness.


Products Associated with CVE-2021-29505

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-29505 are published in these products:

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Affected Versions

x-stream xstream Version < 1.4.17 is affected by CVE-2021-29505

Vulnerable Packages

The following package name and versions may be associated with CVE-2021-29505

Package Manager Vulnerable Package Versions Fixed In
maven com.thoughtworks.xstream:xstream < 1.4.17 1.4.17

Exploit Probability

EPSS
90.77%
Percentile
99.62%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.