High

matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG

  • Disclosed: 09.05.2019
  • Updated: 11.10.2026 14:17

An issue was discovered in Matrix Sydent before 1.0.3 and Synapse before 0.99.3.1. Random number generation is mishandled, which makes it easier for attackers to predict a Sydent authentication token or a Synapse random ID.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) matrix-sydent < 1.0.3 1.0.3
Python (PyPI) matrix-synapse < 0.99.3.1 0.99.3.1

References

CVSS score 7.5/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-338
Platform
Python (PyPI)
Package
matrix-sydent, matrix-synapse
Disclosed
09.05.2019
Updated
11.10.2026 14:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2019-185 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-gwf7-vfjf-wf6x - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2026-2620 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: matrix-sydent

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
7
First → latest
05.2019 07.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 2
  • Medium 4

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 4
  4. 2022: 1
  5. 2023: 1
  6. 2024: 0
  7. 2025: 0
  8. 2026: 0
  1. Critical · 9.3 CVE-2023-38686 < 2.5.6 2.5.6
  2. Medium · 5.9 CVE-2019-11340 < 1.0.2 1.0.2
  3. Medium · 7.7 CVE-2021-29431 < 2.3.0 2.3.0
  4. matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG this entry
    High · 7.5 CVE-2019-11842 < 1.0.3 1.0.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.