CVE-2022-31152
CVE-2022-31152 — Synapse vulnerable to denial of service (DoS) due to incorrect application of event authorization rules
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…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
1%
chance of exploitation in 30 days
CVSS base
6.4
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.4 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-703
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching //spec.matrix.org/v1.2/rooms/v9/#authorization-rules), //matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist).
References
4 on the record
- github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765
x_refsource_CONFIRM
- github.com/matrix-org/synapse/pull/13087
x_refsource_MISC
- github.com/matrix-org/synapse/pull/13088
x_refsource_MISC
- github.com/matrix-org/synapse/releases/tag/v1.62.0
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2022-22265 Samsung Mobile Devices Use-After-Free VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2021-25372 Samsung Mobile Devices Improper Boundary Check VulnerabilityCVSS 6.7 · CISA KEV
- CVE-2021-25370 Samsung Mobile Devices Memory Corruption VulnerabilityCVSS 4.4 · CISA KEV
- CVE-2026-20329 Cisco Secure Adaptive Security Appliance Software, Secure Firewall Threat Defense Software and Secure Firewall Management Center Software Hardening Release - Exceptional Conditions Handling VulnerabilitiesCVSS 9.9
Elsewhere on this site
- Matrix Orgevery CVE for this vendor
- CWE-703other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.