CVE-2019-11842 — matrix-sydent
HIGHCVE-2019-11842 is a high-severity (CVSS 7.5) CWE-338 vulnerability in matrix-sydent. A fix is available for matrix-sydent — see the affected versions and patch details below.
matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
matrix-sydent🐍matrix-synapseReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | matrix-sydent | all versions | 1.0.3pip install --upgrade 'matrix-sydent==1.0.3' |
| 🐍PyPI | matrix-synapse | all versions | 0.99.3.1pip install --upgrade 'matrix-synapse==0.99.3.1' |
Affected Products
sydentmatrixsynapsematrixDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for matrix-sydent, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update matrix-sydent to 1.0.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-11842 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2019-11842 in your dependencies?
Find it across PyPI, including transitive dependencies.