Advisory

GHSA-gwf7-vfjf-wf6x

Also known as: CVE-2019-11842, PYSEC-2019-185, PYSEC-2026-2620

Summary

matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 16:45 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

matrix-sydent

PyPI · All systems

Affected

  • introduced 0, fixed 1.0.3 (ecosystem)

Fixed versions

1.0.3

Fix

  • Fixed version 1.0.3
    pip install --upgrade matrix-sydent==1.0.3

matrix-synapse

PyPI · All systems

Affected

  • introduced 0, fixed 0.99.3.1 (ecosystem)

Fixed versions

0.99.3.1

Fix

  • Fixed version 0.99.3.1
    pip install --upgrade matrix-synapse==0.99.3.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences