CVE-2020-26257
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`).
EPSS 0.45% · 64.0th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | matrix-synapse | 0, 0.24.0+dfsg-1ubuntu0.1~esm4, 0.24.0+dfsg-1ubuntu0.1~esm1 |
| Ubuntu:Pro:22.04:LTS | matrix-synapse | 1.39.0-1, 0, 1.48.0-1 |
| Ubuntu:Pro:20.04:LTS | matrix-synapse | 1.6.1-1, 1.5.1-1, 1.5.0-1 |
Timeline
- Dec 9, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2020-26257 third-party-advisory
- https://github.com/matrix-org/synapse/security/advisories/GHSA-hxmp-pqch-c8mm third-party-advisory
- https://github.com/matrix-org/synapse/pull/8776 third-party-advisory
- https://github.com/matrix-org/synapse/commit/3ce2f303f15f6ac3dc352298972dc6e04d9b7a8b third-party-advisory
- https://github.com/matrix-org/synapse/blob/develop/CHANGES.md#synapse-1231-2020-12-09 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-26257 third-party-advisory