Live threats

All CVEs / Matrix

CVE-2024-31208Matrix Synapse

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 81
Auth required
Yes
Published
Apr 23, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Synapse.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI matrix-synapse < 1.105.1 1.105.1 pip install "matrix-synapse>=1.105.1"
PyPI matrix-synapse < 1.105.1 1.105.1 pip install "matrix-synapse>=1.105.1"

Per OSV / GitHub Advisories (GHSA-3h7q-rfh9-xm4v, PYSEC-2024-50). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixsynapse< 1.105.1
fedoraprojectfedora38
fedoraprojectfedora39
fedoraprojectfedora40

Official sources

References

Links published by the sources. Open them with care.