CVE-2021-21348 MEDIUM

CVE-2021-21348: XStream is vulnerable to an attack using Regular Expression for a Denial of Service (ReDos)

Vendor X-Stream
Product xstream
Weakness CWE-400
Published March 22, 2021
Last update August 3, 2024

CVSS base score

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

CVSS vector

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

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 to occupy a thread that consumes maximum CPU time and will never return. 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