{"id":"CVE-2024-31208","published":"2024-04-23T17:26:39Z","modified":"2025-02-13T17:47:51Z","title":"Synapse's V2 state resolution weakness allows DoS from remote room members","vendor":"element-hq","product":"synapse","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01463,"percentile":0.74266,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01a","tags":["x_refsource_MISC"]},{"url":"https://github.com/element-hq/synapse/releases/tag/v1.105.1","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RR53FNHV446CB37TP45GZ6F6HZLZCK3K/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6FCCO4ODTZ3FDS7TMW76PKOSEL2TQVB/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VSF4NJJSTSQRJQ47PLYYSCFYKJBP7DET/","tags":[]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":14.85},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"element-hq","affectedVersions":[{"vendor":"element-hq","product":"synapse","versions":["< 1.105.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-23T19:13:09.531555Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"matrix-synapse","vulnerableRanges":["<1.105.1"],"patched":["1.105.1"],"from":["GHSA-3h7q-rfh9-xm4v","PYSEC-2024-50"],"provenance":"source"}],"summary":{"text":"The flaw is a weakness in the V2 state resolution algorithm of Synapse, the open-source Matrix homeserver, affecting versions before 1.105.1. A remote Matrix user who shares a room with a vulnerable server can send specially crafted events that drive up CPU use and accumulate excess data in the database, causing a denial of service; the attacker needs only a low-privilege account on a federated server sharing that room, with no user interaction, and servers in private federations or that do not federate are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:49Z"},"euvd":{"id":"EUVD-2024-0099","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-42453","published":"2023-09-26","fixed":"1.93.0","kev":false},{"cve":"CVE-2023-45129","published":"2023-10-10","fixed":"1.94.0","kev":false},{"cve":"CVE-2023-43796","published":"2023-10-31","fixed":"1.95.1","kev":false,"link":{"from":"CVE-2023-43796","to":"CVE-2024-31208","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.95.1","toFixed":"1.105.1","daysApart":175}]}},{"cve":"CVE-2024-31208","published":"2024-04-23","fixed":"1.105.1","kev":false},{"cve":"CVE-2024-37302","published":"2024-12-03","fixed":"1.106","kev":false},{"cve":"CVE-2024-37303","published":"2024-12-03","fixed":"1.106","kev":false},{"cve":"CVE-2024-52805","published":"2024-12-03","fixed":"1.120.1","kev":false}],"package":"PyPI:matrix-synapse"}}