Skip to main content
← All vulnerabilities
CVE-2022-31152GHSA-JHJH-776M-4765PYSEC-2022-262

Synapse vulnerable to denial of service (DoS) due to incorrect application of event authorization rules

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.62.0, 1.62.0rc1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of event authorization rules which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting `federation_domain_whitelist` to an empty list (`[]`) as a workaround.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • matrix-org synapse

    fixed in 1.62.0

  • matrix-synapsePyPI

    fixed in 1.62.0rc1

  • matrix-synapsePyPI

    fixed in 1.62.0

References 4

GitHub · matrix-org/synapse