CVE-2021-39163: Adding a private/unlisted room to a community exposes room metadata in an unauthorised manner.
Vulnerability summary
CVE-2021-39163 is a low (CVSS 3.5) vulnerability in fedoraproject fedora. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 60.8% of scored vulnerabilities.
Not severe (CVSS 3.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 31-08-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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`.
CVSS metrics
8 scores · 6 sources · 3 versions- OSV · PypiEcosystem advisory · calculated3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- NVDNIST3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.90%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.90% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-200Exposure of Sensitive Information to an Unauthorized ActorThe product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
- CWE-863Incorrect AuthorizationThe product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- synapse< 1.41.1-r0
Debian1 product
- matrix-synapse< 1.41.1-1
Fedoraproject1 product
- fedoraEOL34 | 35
Matrix1 product
- synapse< 1.41.1
Matrix-org1 product
- synapse< 1.41.1
PyPI1 product
- matrix-synapse< cb35df940a828bc40b96daed997b5ad4c7842fd3 | < 1.41.1
Ubuntu1 product
- matrix-synapseAll versions (No fix recorded)
7 vendors · 7 products
References
17 links- github.com/matrix-org/synapse/security/advisories/GHSA-jj53-8fmw-f2w2X Refsource CONFIRMWEBAdvisoryREPORTMitigationThird Party Advisory
- github.com/matrix-org/synapse/commit/cb35df940aX Refsource MISCWEBFIXREPORTPatchThird Party Advisory
- github.com/matrix-org/synapse/releases/tag/v1.41.1X Refsource MISCWEBREPORTRelease NotesThird Party Advisory