VDB

CVE-2020-26257

CVE-2020-26257 PUBLISHED CVSS 6.5 MEDIUM

Denial of service attack via incorrect parameters to federation APIs

Reported by github_m · Published December 9, 2020

matrix-synapse is fixed in 3ce2f303f15f6ac3dc352298972dc6e04d9b7a8b and 1.23.1 (PyPI)

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`).

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
matrix-synapsePyPI3ce2f303f15f6ac3dc352298972dc6e04d9b7a8b, 1.23.1
synapseAlpine1.24.0-r0
matrix-synapseArch Linux1.24.0-1

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
matrix-orgsynapse< 1.23.1
PyPImatrix-synapse0
alpinesynapse0
archmatrix-synapse0
matrix-orgsynapse0

Timeline

  • Dec 9, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 4, 2024 CVE Updated
  • Mar 9, 2026 Security Advisory
  • Sep 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-26257
vulnetix vdb fixes CVE-2020-26257

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-26257/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›