CVE-2024-31208
MEDIUM 6.5CVSS 3.1Synapse V2 state resolution weakness allows Denial of Service (DoS)
Synapse is an open-source Matrix homeserver. A remote Matrix user with malicious intent, sharing a room with Synapse instances before 1.105.1, can dispatch specially crafted events to exploit a weakness in the V2 state resolution algorithm. This can induce high CPU consumption and accumulate excessive data in the database of such instances, resulting in a denial of service. Servers in private federations, or those that do not federate, are not affected. Server administrators should upgrade to 1.105.1 or later. Some workarounds are available. One can ban the malicious users or ACL block servers from the rooms and/or leave the room and purge the room using the admin API.
- Published
- 23 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- GHSA-3h7q-rfh9-xm4vPYSEC-2024-50
- Sources
- NVDJSONOSV GHSA-3h7q-rfh9-xm4vJSONOSV PYSEC-2024-50JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | matrix | synapsecpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:* |
< 1.105.1 | 1.105.1 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
= 39 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |
= 40 | |
| OSV | PyPI | matrix-synapse | < 1.105.1 | 1.105.1 |
References
- https://github.com/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01a · Patch, WEB, FIX
- https://github.com/element-hq/synapse/releases/tag/v1.105.1 · Release Notes, WEB
- https://github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v · Vendor Advisory, WEB, ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6FCCO4ODTZ3FDS7TMW76PKOSEL2TQVB/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RR53FNHV446CB37TP45GZ6F6HZLZCK3K/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VSF4NJJSTSQRJQ47PLYYSCFYKJBP7DET/ · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-31208 · ADVISORY
- https://github.com/element-hq/synapse · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2024-50.yaml · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 23 Apr 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Apr 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Apr 2024)