HIGH7.5
PYSEC-2026-2620
matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG
Quick fix
PYSEC-2026-2620 — matrix-sydent: upgrade to the fixed version with the command below.
pip install --upgrade 'matrix-sydent>=1.0.3'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-11842[ADVISORY]
- https://github.com/advisories/GHSA-gwf7-vfjf-wf6x[ADVISORY]
- https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2019-185.yaml[WEB]
- 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[WEB]
- https://pypi.org/project/matrix-sydent[PACKAGE]