🛡️ CVE-2022-31152 on Debian — matrix-synapse
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.
Distribution advisory
This page covers CVE-2022-31152 as tracked by Debian, for the package matrix-synapse. The fix is available in version 1.63.0-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Weakness class
DEBIAN-CVE-2022-31152 is classified as CWE-703: Improper Check or Handling of Exceptional Conditions. The product does not properly anticipate or handle exceptional conditions that rarely occur during normal operation of the product.
Affected software
DEBIAN-CVE-2022-31152 is recorded against 1 package.
- matrix-synapse (fixed in 1.63.0-1)
Timeline and source
Published on 2 September 2022 and last revised on 11 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-31152 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| matrix-synapse | — | 1.63.0-1 |
References
Similar Threats
- Low CVE-2023-41335
- Low CVE-2023-42453
- Medium CVE-2023-32682
- Low CVE-2023-32683
- High CVE-2022-39335
Site Security Check
Is matrix-synapse part of your stack?
DEBIAN-CVE-2022-31152 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.