7.5

CVE-2022-31152: Synapse vulnerable to denial of service (DoS) due to incorrect application of event authorization rules

Modified
AliasesGHSA-jhjh-776m-4765PYSEC-2022-262UBUNTU-CVE-2022-31152
Published 02-09-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-31152 is a high (CVSS 7.5) vulnerability in matrix-org synapse. EPSS estimates a 1.24% chance of exploitation in the next 30 days, higher than 70.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.24%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 02-09-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

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](https://spec.matrix.org/v1.2/rooms/v9/#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`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.24%

Chance of exploitation in the next 30 days

Percentile

70%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 1.20% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • matrix-synapse< 1.63.0-1
Matrix1 product
Matrix-org1 product
PyPI1 product
  • matrix-synapse< 1.62.0rc1 | < 1.62.0
Ubuntu1 product
  • matrix-synapseAll versions (No fix recorded)

5 vendors · 5 products

References

12 links
Show all 12 references