CVE-2021-39163
published low CVSS 3.1 · 3.1Adding a private/unlisted room to a community exposes room metadata in an unauthorised manner.
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 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`.
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-jj53-8fmw-f2w2
- 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
Adding a private/unlisted room to a community exposes room metadata in an unauthorised manner.
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4a25c49c62536c655fec26c5c1ba1781c1dc53ae73db53cb4bc079972e015d03
- Ingested
- 23 Sep 2026, 07:55:36 UTC
- Source record
- Official CVE record