Security mailing lists by PureSourceCode

CVE-2024-31208

MEDIUM 6.5CVSS 3.1

Synapse 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD matrix synapse
cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*
< 1.105.1 1.105.1
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
= 39
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
= 40
OSV PyPI matrix-synapse < 1.105.1 1.105.1

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.