CVE-2021-21393: Synapse - Resource Exhaustion
- Cve: CVE-2021-21393
- Name: Synapse - Resource Exhaustion
- 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.
- Impact: Attackers can cause resource exhaustion, leading to potential denial of service or system instability.
- Remediation: Update to version 1.28.0 or later.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01596
- Epss percentile: 0.76245
- Assignee: [email protected]
- Published at: 2021-04-12T22:15:13Z
- Age in days: 2052
- Modified at: 2026-06-17T03:35:28Z
- Patch available: yes
- References total: 5
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21393
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/matrix-org/synapse/pull/9321 | Patch, Third Party Advisory |
| https://github.com/matrix-org/synapse/pull/9393 | Patch, Third Party Advisory |
| https://github.com/matrix-org/synapse/security/advisories/GHSA-jrh7-mhhx-6h88 | Patch, Third Party Advisory |
| https://pypi.org/project/matrix-synapse/ | Product, Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNNAJOZNMVMXM6AS7RFFKB4QLUJ4IFEY/ |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| matrix:synapse | > 0.24.0, < 1.28.0 | no | nvd | /v1/products/matrix/synapse |
| fedoraproject:fedora | = 34 | no | nvd | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| matrix-org/synapse | commit, package, pull, security_advisory | yes | /v1/repositories/matrix-org/synapse |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 49161
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports