Skip to content
OpenAdvisories
Medium · 5.0 CVE-2023-32323 EUVD-2023-0139GHSA-f3wc-3vxv-xmvrPYSEC-2023-67

Synapse Outgoing federation to specific hosts can be disabled by sending malicious invites

Published May 26, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. A malicious user on a Synapse homeserver X with permission to create certain state events can disable outbound federation from X to an arbitrary homeserver Y. Synapse instances with federation disabled are not affected. In versions of Synapse up to and including 1.73, Synapse did not limit the size of `invite_room_state`, meaning that it was possible to create an arbitrarily large invite event. Synapse 1.74 refuses to create oversized `invite_room_state` fields. Server operators should upgrade to Synapse 1.74 or newer urgently.

Affected products

VendorProductAffectedFixed
matrix-org synapse < 1.74.0 —

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 22.04 LTS matrix-synapse No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS matrix-synapse No fix yet —
Ubuntu Pro 18.04 LTS matrix-synapse No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 synapse 1.74.0-r0 —
Alpine v3.23 synapse 1.74.0-r0 —
Alpine v3.22 synapse 1.74.0-r0 —
Alpine v3.21 synapse 1.74.0-r0 —
Alpine v3.20 synapse 1.74.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 synapse 1.74.0-r0 —
Alpine v3.18 synapse 1.74.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI matrix-synapse < 1.74.0 1.74.0 GHSA-f3wc-3vxv-xmvr

References