CVE-2021-29505 HIGH

CVE-2021-29505: XStream is vulnerable to a Remote Command Execution attack

Vendor X-Stream
Product xstream
Weakness CWE-94 · Code injection
Published May 28, 2021
Last update May 29, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 28, 2021 CVE published
May 29, 2025 Record updated