CVE-2024-31208: Synapse's V2 state resolution weakness allows DoS from remote room members
Vulnerability summary
CVE-2024-31208 is a medium (CVSS 6.5) vulnerability in element-hq synapse. EPSS estimates a 1.46% chance of exploitation in the next 30 days, higher than 74.5% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 23-04-2024PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.46%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.46% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu2 products
- matrix-synapseAll versions (No fix recorded) | < 1.53.0-1ubuntu0.1~esm2
- synapseAll versions (No fix recorded)
Alpine1 product
- synapse< 1.105.1-r0
Debian1 product
- matrix-synapse< 1.103.0-2
Element-hq1 product
- synapse< 1.105.1
Fedoraproject1 product
- fedoraEOL38 | 39 | 40
Matrix1 product
- synapse< 1.105.1
Opensuse1 product
- matrix-synapse&distro=openSUSE Tumbleweed< 1.105.1-1.1
PyPI1 product
- matrix-synapse< 55b0aa847a61774b6a3acdc4b177a20dc019f01a | < 1.105.1
8 vendors · 9 products
References
18 links- github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4vX Refsource CONFIRMWEBAdvisoryREPORTVendor Advisory
- github.com/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01aX Refsource MISCWEBFIXREPORTPatch