Live threats

All CVEs / Matrix

CVE-2021-21393Matrix Synapse

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
Yes
Published
Apr 12, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Synapse.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI matrix-synapse < 1.28.0 1.28.0 pip install "matrix-synapse>=1.28.0"
PyPI matrix-synapse < 1.28.0 1.28.0 pip install "matrix-synapse>=1.28.0"

Per OSV / GitHub Advisories (GHSA-jrh7-mhhx-6h88, PYSEC-2021-26). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixsynapse> 0.24.0 < 1.28.0
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.