CVE-2019-11842 matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG

High 7.5 Published Updated

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.

PackageAffectedFixed in
matrix-sydent PyPIAll versions1.0.3
matrix-sydent PyPIAll versions1.0.3
matrix-sydent PyPIAll versions1.0.3
matrix-synapse PyPIAll versions0.99.3.1
matrix-synapse PyPIAll versions0.99.3.1
matrix-synapse PyPIAll versions0.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.

Sources

Also known as GHSA-gwf7-vfjf-wf6x, PYSEC-2019-185, PYSEC-2026-2620, UBUNTU-CVE-2019-11842.

Is CVE-2019-11842 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free