GHSA-jhjh-776m-4765 · Severity: high · Ecosystem: pip — Denial of service 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 (`[]`) as a workaround.
Conclusion & alert: CVE-2022-31152 is rated Moderate Risk (45/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.90%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.69% | 0.90% | +0.21% |
| 2 | 2025-09-04 | 0.53% | 0.69% | +0.16% |
| 3 | 2025-09-03 | — | 0.53% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.4 | 3.1 | MEDIUM |
|
1.6 | 4.7 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-jhjh-776m-4765 · Severity: high · Ecosystem: pip — Denial of service due to incorrect application of event authorization rules
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2022-31152: 1 source package rows (synapse); 16 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 16. | https://security.alpinelinux.org/vuln/CVE-2022-31152 |
debian
|
not yet assigned | CVE-2022-31152 not yet assigned priority: Debian including 1 source packages (matrix-synapse), 2 status rows across 2 suites (forky, sid): resolved 2. | https://security-tracker.debian.org/tracker/CVE-2022-31152 |
ubuntu
|
medium | CVE-2022-31152 medium priority: Ubuntu including 1 source packages (matrix-synapse), 11 status rows across 11 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, trusty, upstream, xenial): not-affected 5, needs-triage 3, ignored 2, released 1. | https://ubuntu.com/security/CVE-2022-31152 |
| URL | Tags |
|---|---|
| https://github.com/matrix-org/synapse/pull/13087 | Issue Tracking Patch Third Party Advisory |
| https://github.com/matrix-org/synapse/pull/13088 | Issue Tracking Patch Third Party Advisory |
| https://github.com/matrix-org/synapse/releases/tag/v1.62.0 | Release Notes Third Party Advisory |
| https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765 | Issue Tracking Mitigation Third Party Advisory |