VDB

PYSEC-2020-236

PYSEC-2020-236 PUBLISHED CVSS 6.900000095367432 MEDIUM

Record from OSV · 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

Risk scores

CVSS 4.0
6.900000095367432
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
PyPImatrix-synapse0, 0, 0.33.5

Timeline

  • Dec 9, 2020 CVE Published
  • Nov 8, 2023 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln PYSEC-2020-236
vulnetix vdb fixes PYSEC-2020-236

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/PYSEC-2020-236/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 ›