CVE-2021-39164
published low CVSS 3.1 · 3.1Improper authorisation of /members discloses room membership to non-members
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| matrix-org | — | synapse< 1.41.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | synapse | Fixed | 1.41.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | matrix-synapseaarch64 | Advisory build | 1.43.0-1.1 | OPENSUSE-SU-2024:11041-1 |
| Alpine Linux | v3.14 | synapse | Fixed | 1.41.1-r0 | Package fix record |
| Alpine Linux | v3.15 | synapse | Fixed | 1.41.1-r0 | Package fix record |
| Alpine Linux | v3.16 | synapse | Fixed | 1.41.1-r0 | Package fix record |
| Alpine Linux | v3.17 | synapse | Fixed | 1.41.1-r0 | Package fix record |
| Alpine Linux | v3.18 | synapse | Fixed | 1.41.1-r0 | Package fix record |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | synapse | Fixed | 1.41.1-r0 | Package fix record |
| Alpine Linux | v3.20 | synapse | Fixed | 1.41.1-r0 | Package fix record |
| Alpine Linux | v3.21 | synapse | Fixed | 1.41.1-r0 | Package fix record |
| Alpine Linux | v3.22 | synapse | Fixed | 1.41.1-r0 | Package fix record |
| Alpine Linux | v3.23 | synapse | Fixed | 1.41.1-r0 | Package fix record |
| Alpine Linux | v3.24 | synapse | Fixed | 1.41.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | matrix-synapseppc64le | Advisory build | 1.43.0-1.1 | OPENSUSE-SU-2024:11041-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | matrix-synapses390x | Advisory build | 1.43.0-1.1 | OPENSUSE-SU-2024:11041-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | matrix-synapsex86_64 | Advisory build | 1.43.0-1.1 | OPENSUSE-SU-2024:11041-1 |
Description
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 membership (list of members, with their display names) of a room if they know the ID of the room. The vulnerability is limited to rooms with `shared` history visibility. Furthermore, the unauthorised user must be using an account on a vulnerable homeserver that is in the room. Server administrators should upgrade to 1.41.1 or later in order to receive the patch. One workaround is available. Administrators of servers that use a reverse proxy could, with potentially unacceptable loss of functionality, block the endpoints: `/_matrix/client/r0/rooms/{room_id}/members` with `at` query parameter, and `/_matrix/client/unstable/rooms/{room_id}/members` with `at` query parameter.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.1 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| matrix-org | synapse | < 1.41.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
5- https://github.com/matrix-org/synapse/commit/cb35df940a
- https://github.com/matrix-org/synapse/releases/tag/v1.41.1
- https://github.com/matrix-org/synapse/security/advisories/GHSA-3x4c-pq33-4w3q
- FEDORA-2021-f12fdca1bf https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF/
- FEDORA-2021-2e8ed15b14 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN/
Provider assertions
2GitHub_M · cna
Improper authorisation of /members discloses room membership to non-members
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fcbe41e5cfb651470b3365f94d01928603464e01b2892528af4757c20dd8dd6f
- Ingested
- 23 Sep 2026, 07:55:36 UTC
- Source record
- Official CVE record