CVE-2021-21393

Denial of service (via resource exhaustion) due to improper input validation on groups/communities endpoints

MEDIUM
6.5
CVSS Score
Published: April 12, 2021 at 09:35 PM UTC
Updated: June 17, 2026 at 03:35 AM UTC
3 products affected across 3 vendorsFedoraSynapseSynapse

Using synapse by matrix-org?

Get instant alerts when new vulnerabilities affect synapse - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 2%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.24.0 < v < 1.28.0
Affected range stops below 1.28.0, so it looks safe — our inference, not a vendor statement
v < 1.28.0
Affected range stops below 1.28.0, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-20

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card