{"schemaVersion":3,"id":"CVE-2024-31208","aliases":["GHSA-3h7q-rfh9-xm4v","PYSEC-2024-50","UBUNTU-CVE-2024-31208","DEBIAN-CVE-2024-31208","openSUSE-SU-2024:13897-1"],"status":"published","duplicateOf":null,"title":null,"description":"Synapse is an open-source Matrix homeserver. A remote Matrix user with malicious intent, sharing a room with Synapse instances before 1.105.1, can dispatch specially crafted events to exploit a weakness in the V2 state resolution algorithm. This can induce high CPU consumption and accumulate excessive data in the database of such instances, resulting in a denial of service. Servers in private federations, or those that do not federate, are not affected. Server administrators should upgrade to 1.105.1 or later. Some workarounds are available. One can ban the malicious users or ACL block servers from the rooms and/or leave the room and purge the room using the admin API.","dates":{"published":"2024-04-23T17:26:39.171Z","modified":"2025-02-13T17:47:51.943Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01463,"percentile":0.73392,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01463},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01463,"percentile":0.73392}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01463,"percentile":0.73392}]},"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-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.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":"< 1.103.0-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.103.0-2","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":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.53.0-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.53.0-1ubuntu0.1~esm2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"synapse","name":"synapse","label":"synapse","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/synapse","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"element-hq","product":"synapse","name":"synapse","label":"synapse","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.105.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.105.1","eol":null,"hubHref":"/vendor/element-hq/synapse"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"38","noFixRecorded":false,"fixedIn":null},{"text":"39","noFixRecorded":false,"fixedIn":null},{"text":"40","noFixRecorded":false,"fixedIn":null}],"versionsText":"38 | 39 | 40","eol":{"isEol":true,"eolDate":"2024-05-21T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"38","label":"38","eolFrom":"2024-05-21T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"matrix","product":"synapse","name":"synapse","label":"synapse","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.105.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.105.1","eol":null,"hubHref":"/vendor/matrix/synapse"},{"vendor":"PyPI","product":"matrix-synapse","name":"matrix-synapse","label":"matrix-synapse","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/matrix-synapse","purlType":"pypi","versions":[{"text":"< 55b0aa847a61774b6a3acdc4b177a20dc019f01a","noFixRecorded":false,"fixedIn":null},{"text":"< 1.105.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 55b0aa847a61774b6a3acdc4b177a20dc019f01a | < 1.105.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"matrix-synapse&distro=openSUSE Tumbleweed","name":"matrix-synapse","label":"matrix-synapse&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/matrix-synapse&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.105.1-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.105.1-1.1","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v","label":"github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","REPORT","Vendor Advisory"]},{"url":"https://github.com/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01a","label":"github.com/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01a","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT","Patch"]},{"url":"https://github.com/element-hq/synapse/releases/tag/v1.105.1","label":"github.com/element-hq/synapse/releases/tag/v1.105.1","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Release Notes"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RR53FNHV446CB37TP45GZ6F6HZLZCK3K/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6FCCO4ODTZ3FDS7TMW76PKOSEL2TQVB/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VSF4NJJSTSQRJQ47PLYYSCFYKJBP7DET/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31208","label":"nvd.nist.gov/vuln/detail/CVE-2024-31208","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/element-hq/synapse","label":"github.com/element-hq/synapse","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2024-50.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2024-50.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6FCCO4ODTZ3FDS7TMW76PKOSEL2TQVB","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RR53FNHV446CB37TP45GZ6F6HZLZCK3K","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VSF4NJJSTSQRJQ47PLYYSCFYKJBP7DET","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2024-31208","label":"ubuntu.com/security/CVE-2024-31208","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-31208","label":"www.cve.org/CVERecord?id=CVE-2024-31208","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7444-1","label":"ubuntu.com/security/notices/USN-7444-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-31208","label":"security-tracker.debian.org/tracker/CVE-2024-31208","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-31208","label":"www.suse.com/security/cve/CVE-2024-31208","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["USN-7444-1"],"duplicates":[],"related":["USN-7444-1"]},"timeline":[{"kind":"published","date":"2024-04-23T17:26:39.171Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T17:47:51.943Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T04:47:23.749Z","stale":false,"partial":false}}