VDB

PYSEC-2021-424

PYSEC-2021-424 PUBLISHED

Record from OSV · Published August 31, 2021

matrix-synapse is fixed in cb35df940a828bc40b96daed997b5ad4c7842fd3 and 1.41.1 (PyPI)

Matrix is an ecosystem for open federated Instant Messaging and Voice over IP. In versions 1.41.0 and prior, unauthorised users can access the name, avatar, topic and number of members of a room if they know the ID of the room. This vulnerability is limited to homeservers where the vulnerable homeserver is in the room and untrusted users are permitted to create groups (communities). By default, only homeserver administrators can create groups. However, homeserver administrators can already access this information in the database or using the admin API. As a result, only homeservers where the configuration setting `enable_group_creation` has been set to `true` are impacted. Server administrators should upgrade to 1.41.1 or higher to patch the vulnerability. There are two potential workarounds. Server administrators can set `enable_group_creation` to `false` in their homeserver configuration (this is the default value) to prevent creation of groups by non-administrators. Administrators that are using a reverse proxy could, with partial loss of group functionality, block the endpoints `/_matrix/client/r0/groups/{group_id}/rooms` and `/_matrix/client/unstable/groups/{group_id}/rooms`.

Fixed versions

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

PackageEcosystemFixed in
matrix-synapsePyPIcb35df940a828bc40b96daed997b5ad4c7842fd3, 1.41.1

Affected products

VendorProductVersions
PyPImatrix-synapse1.12.0rc1, 0, 0

Timeline

  • Aug 31, 2021 CVE Published
  • Feb 26, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln PYSEC-2021-424
vulnetix vdb fixes PYSEC-2021-424

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-2021-424/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 ›