CVE-2021-21394Denial of service (via resource exhaustion) due to improper input validation on third-party identifier endpoints
- 5.3MediumCVSS base score
- 1.5%Exploitation in 30 daysEPSS · top 25% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 4 months later
· 4 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.5% · top 25% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
- affected < 1.28.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPImatrix-synapseGHSA-w9fg-xffh-p362 (opens in a new tab)
References
References5
- https://github.com/matrix-org/synapse/security/advisories/GHSA-w9fg-xffh-p362 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://pypi.org/project/matrix-synapse/ (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/matrix-org/synapse/pull/9321 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/matrix-org/synapse/pull/9393 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2021-a627cfd31e (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0130 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-w9fg-xffh-p362 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-21394)Record last updated .