CVE-2022-31152
published 2022-09-02CVE-2022-31152: Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event…
PriorityP339high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.94%
56.9th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | matrix-synapse | < matrix-synapse 1.63.0-1 (forky) | matrix-synapse 1.63.0-1 (forky) |
| matrix-org | synapse | < 1.62.0 | 1.62.0 |
| matrix | synapse | < 1.62.0 | 1.62.0 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian6.4MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2022-31152: Synapse is an open-source Matrix homeserver written and maintained by the Matrix
osv·2022-09-02·CVSS 7.5
CVE-2022-31152 [HIGH] CVE-2022-31152: Synapse is an open-source Matrix homeserver written and maintained by the Matrix
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/la
GHSA
Denial of service due to incorrect application of event authorization rules
ghsa·2022-08-31
CVE-2022-31152 [HIGH] CWE-703 Denial of service due to incorrect application of event authorization rules
Denial of service due to incorrect application of event authorization rules
### Impact
The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.3/rooms/v10/#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 v1.61, 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.
### Patches
Administrators of homeservers with federation enabled are advised to upgrade to v1.62.0 or higher.
### Workarounds
* Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.i
OSV
Denial of service due to incorrect application of event authorization rules
osv·2022-08-31
CVE-2022-31152 [HIGH] Denial of service due to incorrect application of event authorization rules
Denial of service due to incorrect application of event authorization rules
### Impact
The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.3/rooms/v10/#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 v1.61, 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.
### Patches
Administrators of homeservers with federation enabled are advised to upgrade to v1.62.0 or higher.
### Workarounds
* Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.i
Debian
CVE-2022-31152: matrix-synapse - Synapse is an open-source Matrix homeserver written and maintained by the Matrix...
vendor_debian·2022·CVSS 6.4
CVE-2022-31152 [MEDIUM] CVE-2022-31152: matrix-synapse - Synapse is an open-source Matrix homeserver written and maintained by the Matrix...
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/la
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/matrix-org/synapse/pull/13087https://github.com/matrix-org/synapse/pull/13088https://github.com/matrix-org/synapse/releases/tag/v1.62.0https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765https://github.com/matrix-org/synapse/pull/13087https://github.com/matrix-org/synapse/pull/13088https://github.com/matrix-org/synapse/releases/tag/v1.62.0https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765
2022-09-02
Published