CVE-2024-31208 json
Synapse's V2 state resolution weakness allows DoS from remote room members
published 2024-04-23 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0099 , GHSA-3h7q-rfh9-xm4v , PYSEC-2024-50
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi matrix-synapse 1.105.1
- element-hq synapse 1.105.1
- element synapse 1.105.1
- matrix synapse 1.105.1
- matrix-synapse Ubuntu Pro 22.04 LTS 1.53.0-1ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2024-31208
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- matrix-synapse openSUSE Tumbleweed 1.105.1-1.1
opensuse advisories openSUSE-SU-2024:13897-1
- synapse Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 1.105.1-r0
alpine advisories ALPINE-CVE-2024-31208
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.46% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | matrix-synapse | <1.105.1 |
1.105.1 |
Affected products
- element-hq synapse
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
github.com
/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01a
web, patch
-
github.com
/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v
web, vendor-advisory, advisory
-
github.com
/element-hq/synapse/releases/tag/v1.105.1
web, release-notes
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/RR53FNHV446CB37TP45GZ6F6HZLZCK3K/
mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/R6FCCO4ODTZ3FDS7TMW76PKOSEL2TQVB/
mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/VSF4NJJSTSQRJQ47PLYYSCFYKJBP7DET/
mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-31208
advisory
-
github.com
/element-hq/synapse
package
-
github.com
/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2024-50.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/R6FCCO4ODTZ3FDS7TMW76PKOSEL2TQVB
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/RR53FNHV446CB37TP45GZ6F6HZLZCK3K
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/VSF4NJJSTSQRJQ47PLYYSCFYKJBP7DET
web
Sources
- CVE List CVE-2024-31208
- GitHub Advisory GHSA-3h7q-rfh9-xm4v
- NVD CVE-2024-31208
- OSV PYSEC-2024-50
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.