matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG
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.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | matrix-sydent | < 1.0.3 | 1.0.3 |
| Python (PyPI) | matrix-synapse | < 0.99.3.1 | 0.99.3.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-11842
- https://github.com/advisories/GHSA-gwf7-vfjf-wf6x
- https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2019-185.yaml
- https://matrix.org/blog/2019/05/03/security-updates-sydent-1-0-3-synapse-0-99-3-1-and-riot-android-0-9-0-0-8-99-0-8-28-a
- https://matrix.org/blog/2019/05/03/security-updates-sydent-1-0-3-synapse-0-99-3-1-and-riot-android-0-9-0-0-8-99-0-8-28-a/
- https://pypi.org/project/matrix-sydent
- 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
- 2019: 1
- 2020: 0
- 2021: 4
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG this entry
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.