Advisory

GHSA-hxmp-pqch-c8mm

Also known as: CVE-2020-26257, PYSEC-2020-236

Summary

Denial of service attack via incorrect parameters in Matrix Synapse

Details

Impact

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.

Patches

Issue is resolved by https://github.com/matrix-org/synapse/pull/8776.

Workarounds

Homeserver administrators could limit access to the federation API to trusted servers (for example via federation_domain_whitelist).

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-12-09 18:21 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

matrix-synapse

PyPI · All systems

Affected

  • introduced 0, fixed 1.23.1 (ecosystem)

Fixed versions

1.23.1

Fix

  • Fixed version 1.23.1
    pip install --upgrade matrix-synapse==1.23.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences