CVE-2019-11842 matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG
Attackers can predict authentication tokens or IDs due to poor random number generation, potentially bypassing security or taking over accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-11842?
CVE-2019-11842 is a high-severity vulnerability in n/a, published on 9 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-338
Which versions are affected by CVE-2019-11842?
6 open source packages ship an affected version, including matrix-sydent and matrix-synapse. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
matrix-sydent PyPI | All versions | 1.0.3 |
matrix-sydent PyPI | All versions | 1.0.3 |
matrix-sydent PyPI | All versions | 1.0.3 |
matrix-synapse PyPI | All versions | 0.99.3.1 |
matrix-synapse PyPI | All versions | 0.99.3.1 |
matrix-synapse PyPI | All versions | 0.99.3.1 |
Products include Matrix Sydent, Matrix Synapse.
How do I fix CVE-2019-11842?
Upgrade matrix-sydent to 1.0.3 or later.
Is CVE-2019-11842 being exploited?
There is no known exploitation of CVE-2019-11842 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2023-38686 Sydent does not verify email server certificates
- CVE-2021-29431 SSRF in Sydent due to missing validation of hostnames
- CVE-2021-29430 Denial of service attack via memory exhaustion
- CVE-2019-11340 Matrix Sydent mishandles emails
- CVE-2021-29432 Malicious users could control the content of invitation emails
Sources
Also known as GHSA-gwf7-vfjf-wf6x, PYSEC-2019-185, PYSEC-2026-2620, UBUNTU-CVE-2019-11842.