Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-31208 EUVD-2024-0099GHSA-3h7q-rfh9-xm4vPYSEC-2024-50

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

Published Apr 23, 2024 · Updated Feb 13, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
element-hq synapse < 1.105.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 synapse No fix yet —
Ubuntu 26.04 LTS synapse No fix yet —
Ubuntu 25.10 synapse No fix yet —
Ubuntu 24.04 LTS synapse +1 No fix yet —
Ubuntu 22.04 LTS synapse No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS synapse No fix yet —
Ubuntu 18.04 LTS synapse No fix yet —
Ubuntu 16.04 LTS synapse No fix yet —
Ubuntu Pro 22.04 LTS matrix-synapse 1.53.0-1ubuntu0.1~esm2 USN-7444-1
Ubuntu Pro 20.04 LTS matrix-synapse 1.11.0-1ubuntu0.1~esm2 USN-7444-1
Ubuntu Pro 18.04 LTS matrix-synapse 0.24.0+dfsg-1ubuntu0.1~esm4 USN-7444-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed matrix-synapse 1.105.1-1.1 openSUSE-SU-2024:13897-1
ReleasePackageFixed inAdvisory
Alpine v3.24 synapse 1.105.1-r0 —
Alpine v3.23 synapse 1.105.1-r0 —
Alpine v3.22 synapse 1.105.1-r0 —
Alpine v3.21 synapse 1.105.1-r0 —
Alpine v3.20 synapse 1.105.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI matrix-synapse < 1.105.1 1.105.1 GHSA-3h7q-rfh9-xm4v

Advisories 2

References