Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. matrix-synapse
  4. ›
  5. CVE-2021-39163

CVE-2021-39163: Adding a private/unlisted room to a community exposes room metadata in an unauthorised manner.

September 1, 2021 (updated September 24, 2024)

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.

References

  • github.com/advisories/GHSA-jj53-8fmw-f2w2
  • github.com/matrix-org/synapse
  • github.com/matrix-org/synapse/commit/cb35df940a
  • github.com/matrix-org/synapse/releases/tag/v1.41.1
  • github.com/matrix-org/synapse/security/advisories/GHSA-jj53-8fmw-f2w2
  • github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2021-424.yaml
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN
  • nvd.nist.gov/vuln/detail/CVE-2021-39163

Code Behaviors & Features

Detect and mitigate CVE-2021-39163 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.41.1

Fixed versions

  • 1.41.1

Solution

Upgrade to version 1.41.1 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

pypi/matrix-synapse/CVE-2021-39163.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:32 +0000.