{"cve":"CVE-2022-31152","nvd":{"published":"2022-09-02T20:15:08.370","modified":"2026-06-17T04:44:54.797","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-755","CWE-703"],"references":["https://github.com/matrix-org/synapse/pull/13087","https://github.com/matrix-org/synapse/pull/13088","https://github.com/matrix-org/synapse/releases/tag/v1.62.0","https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765","https://github.com/matrix-org/synapse/pull/13087"],"products":["matrix:synapse"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-31152","score":0.01203,"percentile":0.68252,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jhjh-776m-4765","url":"https://osv.dev/vulnerability/GHSA-jhjh-776m-4765","summary":"Denial of service due to incorrect application of event authorization rules","modified":"2024-09-30T20:38:34.736363Z","packages":[{"ecosystem":"PyPI","name":"matrix-synapse","purl":"pkg:pypi/matrix-synapse","ranges":["<1.62.0rc1"],"fixed":["1.62.0rc1"]}]},{"id":"PYSEC-2022-262","url":"https://osv.dev/vulnerability/PYSEC-2022-262","summary":"","modified":"2023-11-08T04:09:27.850052Z","packages":[{"ecosystem":"PyPI","name":"matrix-synapse","purl":"pkg:pypi/matrix-synapse","ranges":["<1.62.0"],"fixed":["1.62.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}