SecurityContext

CVE-2021-21394: Synapse - Resource Exhaustion

  • Cve: CVE-2021-21394
  • 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 to include proper input validation.
  • 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.01538
  • Epss percentile: 0.75408
  • Assignee: [email protected]
  • Published at: 2021-04-12T21:15:14Z
  • 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-21394
  • 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

IdName
CWE-20Improper Input Validation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/matrix-org/synapse/pull/9321Patch, Third Party Advisory
https://github.com/matrix-org/synapse/pull/9393Patch, Third Party Advisory
https://github.com/matrix-org/synapse/security/advisories/GHSA-w9fg-xffh-p362Patch, 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

ProductAffectedPlatform boundSourcesUrl
matrix:synapse> 0.17.0, < 1.28.0nonvd/v1/products/matrix/synapse
fedoraproject:fedora= 34nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
matrix-org/synapsepackage, pull, security_advisoryyes/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