Original 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 software
- Synapse > 0.17.0 < 1.28.0 Fixed in: 1.28.0 exact match
Details
- Published
- 2021-04-12
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-20
- EPSS (30-day exploit probability)
- 1.54% (percentile 75)
References
- cve.org/CVE-2021-21394
- nvd.nist.gov/vuln/detail/CVE-2021-21394
- github.com/matrix-org/synapse/pull/9321
- github.com/matrix-org/synapse/pull/9393
- github.com/matrix-org/synapse/security/advisories/GHSA-w9fg-xffh-p362
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T...
- pypi.org/project/matrix-synapse/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.