CVE-2021-21345 MEDIUM

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

Vendor X-Stream
Product xstream
Weakness CWE-94 · Code injection
Published March 22, 2021
Last update August 3, 2024

CVSS base score

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

CVSS vector

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

What the vulnerability does

01Description

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker who has sufficient rights to execute commands of the 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.

Key dates

02Disclosure timeline

March 22, 2021 CVE published
August 3, 2024 Record updated