Skip to content
OpenAdvisories
Medium · 6.5 CVE-2020-26257 EUVD-2020-0106GHSA-hxmp-pqch-c8mmPYSEC-2020-236

Denial of service attack via incorrect parameters to federation APIs

Published Dec 9, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

Matrix is an ecosystem for open federated Instant Messaging and VoIP. Synapse is a reference "homeserver" implementation of Matrix. A malicious or poorly-implemented homeserver can inject malformed events into a room by specifying a different room id in the path of a `/send_join`, `/send_leave`, `/invite` or `/exchange_third_party_invite` request. This can lead to a denial of service in which future events will not be correctly sent to other servers over federation. This affects any server which accepts federation requests from untrusted servers. The Matrix Synapse reference implementation before version 1.23.1 the implementation is vulnerable to this injection attack. Issue is fixed in version 1.23.1. As a workaround homeserver administrators could limit access to the federation API to trusted servers (for example via `federation_domain_whitelist`).

Affected products

VendorProductAffectedFixed
matrix-org synapse < 1.23.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 Pro 22.04 LTS matrix-synapse No fix yet —
Ubuntu Pro 20.04 LTS matrix-synapse No fix yet —
Ubuntu Pro 18.04 LTS matrix-synapse No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed matrix-synapse 1.43.0-1.1 openSUSE-SU-2024:11041-1
ReleasePackageFixed inAdvisory
Alpine v3.24 synapse 1.24.0-r0 —
Alpine v3.23 synapse 1.24.0-r0 —
Alpine v3.22 synapse 1.24.0-r0 —
Alpine v3.21 synapse 1.24.0-r0 —
Alpine v3.20 synapse 1.24.0-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 synapse 1.24.0-r0 —
Alpine v3.18 synapse 1.24.0-r0 —
Alpine v3.17 synapse 1.24.0-r0 —
Alpine v3.16 synapse 1.24.0-r0 —
Alpine v3.15 synapse 1.24.0-r0 —
Alpine v3.14 synapse 1.24.0-r0 —
Alpine v3.13 synapse 1.24.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI matrix-synapse < 1.23.1 1.23.1 GHSA-hxmp-pqch-c8mm

Advisories 1

References