CVE-2024-31208

Synapse's V2 state resolution weakness allows DoS from remote room members

Published Apr 23, 2024 CVSS 3.1 · 6.5 Medium EPSS 1.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0099 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.
Github GHSA Github GHSA GHSA-3h7q-rfh9-xm4v Synapse V2 state resolution weakness allows Denial of Service (DoS)
Ubuntu USN Ubuntu USN USN-7444-1 Synapse vulnerabilities
History
Type Values Removed Values Added
First Time appeared Fedoraproject
Fedoraproject fedora
Matrix
Matrix synapse
CPEs cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Vendors & Products Fedoraproject
Fedoraproject fedora
Matrix
Matrix synapse
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 13, 2025, 5:47 PM
Reserved
Mar 29, 2024, 2:16 PM
Status
Analyzed
Published
Apr 23, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:27 AM