{"schemaVersion":3,"id":"CVE-2019-11842","aliases":["GHSA-gwf7-vfjf-wf6x","PYSEC-2019-185","PYSEC-2026-2620","UBUNTU-CVE-2019-11842","DEBIAN-CVE-2019-11842"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-05-09T17:06:43.000Z","modified":"2024-08-04T23:03:32.882Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.01795,"percentile":0.78106,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01795},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01624,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01795,"percentile":0.78106}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01624,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01795,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01795,"percentile":0.78106}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","description":"The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/338.html"}],"affected":[{"vendor":"debian","product":"matrix-synapse","name":"matrix-synapse","label":"matrix-synapse","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/matrix-synapse","purlType":"deb","versions":[{"text":"< 0.99.2-5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.2-5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"matrix-synapse","name":"matrix-synapse","label":"matrix-synapse","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/matrix-synapse","purlType":"deb","versions":[{"text":"< 0.24.0+dfsg-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.24.0+dfsg-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"matrix","product":"sydent","name":"sydent","label":"sydent","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.3","eol":null,"hubHref":"/vendor/matrix/sydent"},{"vendor":"matrix","product":"synapse","name":"synapse","label":"synapse","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.99.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.3.1","eol":null,"hubHref":"/vendor/matrix/synapse"},{"vendor":"PyPI","product":"matrix-sydent","name":"matrix-sydent","label":"matrix-sydent","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/matrix-sydent","purlType":"pypi","versions":[{"text":"< 1.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.3","eol":null,"hubHref":null},{"vendor":"PyPI","product":"matrix-synapse","name":"matrix-synapse","label":"matrix-synapse","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/matrix-synapse","purlType":"pypi","versions":[{"text":"< 0.99.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.3.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"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/","label":"matrix.org/blog/…","hostname":"matrix.org","tags":["X Refsource MISC","Vendor Advisory","ARTICLE","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-11842","label":"nvd.nist.gov/vuln/detail/CVE-2019-11842","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-gwf7-vfjf-wf6x","label":"github.com/advisories/GHSA-gwf7-vfjf-wf6x","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2019-185.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2019-185.yaml","hostname":"github.com","tags":["WEB"]},{"url":"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","label":"matrix.org/blog/…","hostname":"matrix.org","tags":["WEB"]},{"url":"https://pypi.org/project/matrix-sydent","label":"pypi.org/project/matrix-sydent","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://ubuntu.com/security/CVE-2019-11842","label":"ubuntu.com/security/CVE-2019-11842","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6076-1","label":"ubuntu.com/security/notices/USN-6076-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-11842","label":"www.cve.org/CVERecord?id=CVE-2019-11842","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-11842","label":"security-tracker.debian.org/tracker/CVE-2019-11842","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-6076-1"],"duplicates":[],"related":["USN-6076-1"]},"timeline":[{"kind":"published","date":"2019-05-09T17:06:43.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T23:03:32.882Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:50:22.517Z","stale":false,"partial":false}}