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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | matrix-synapse | 1.43.0-1.1 | openSUSE-SU-2024:11041-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | matrix-synapse | < 1.23.1 | 1.23.1 | GHSA-hxmp-pqch-c8mm |
Advisories 1
- openSUSE-SU-2024:11041-1 matrix-synapse-1.43.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/matrix-org/synapse/security/advisories/GHSA-hxmp-pqch-c8mm
- https://github.com/matrix-org/synapse/pull/8776
- https://github.com/matrix-org/synapse/commit/3ce2f303f15f6ac3dc352298972dc6e04d9b7a8b
- https://github.com/matrix-org/synapse/blob/develop/CHANGES.md#synapse-1231-2020-12-09
- FEDORA-2020-a2172c484d vendor-advisory
- FEDORA-2020-eeb66c2ece vendor-advisory