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

CVE-2021-39164: Improper authorisation of members discloses room membership to non-members

September 1, 2021 (updated September 24, 2024)

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.

References

  • github.com/advisories/GHSA-3x4c-pq33-4w3q
  • 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-3x4c-pq33-4w3q
  • github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2021-425.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-39164

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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-39164.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:34 +0000.