7.5

CVE-2022-31152: matrix-org synapse

CVSS: 7.5v3.1HighModified
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.18% chance of exploitation in the next 30 days, higher than 67.1% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.18%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.18%

Chance of exploitation in the next 30 days

Percentile

67%

Versus all other CVEs

30-day change

0.00 pp

From 1.18% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.18%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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