CVE-2021-21393 MEDIUM

CVE-2021-21393: Denial of service (via resource exhaustion) due to improper input validation on groups/communities endpoints

Vendor Matrix-Org
Product synapse
Weakness CWE-20 · Input validation
Published April 12, 2021
Last update August 3, 2024

CVSS base score

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

CVSS vector

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

What the vulnerability does

01Description

Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse). Matrix is an ecosystem for open federated Instant Messaging and VoIP. In Synapse before version 1.28.0 Synapse is missing input validation of some parameters on the endpoints used to confirm third-party identifiers could cause excessive use of disk space and memory leading to resource exhaustion. Note that the groups feature is not part of the Matrix specification and the chosen maximum lengths are arbitrary. Not all clients might abide by them. Refer to referenced GitHub security advisory for additional details including workarounds.

Key dates

02Disclosure timeline

April 12, 2021 CVE published
August 3, 2024 Record updated