Original description
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.
Affected software
- Synapse < 1.105.1* Fixed in: 1.105.1 exact match
Details
- Published
- 2024-04-23
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-770
- EPSS (30-day exploit probability)
- 1.46% (percentile 74)
References
- cve.org/CVE-2024-31208
- nvd.nist.gov/vuln/detail/CVE-2024-31208
- github.com/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01a
- github.com/element-hq/synapse/releases/tag/v1.105.1
- github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v
- lists.fedoraproject.org/archives/list/[email protected]/message/R6F...
- lists.fedoraproject.org/archives/list/[email protected]/message/RR5...
- lists.fedoraproject.org/archives/list/[email protected]/message/VSF...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.