Skip to content
OpenAdvisories
Medium · 5.3 CVE-2021-21393 EUVD-2021-0129GHSA-jrh7-mhhx-6h88PYSEC-2021-26

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

Published Apr 12, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
matrix-org synapse < 1.28.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS matrix-synapse No fix yet —
Ubuntu Pro 20.04 LTS matrix-synapse No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI matrix-synapse < 1.28.0 1.28.0 GHSA-jrh7-mhhx-6h88

References