CVE-2024-31208: Synapse V2 state resolution weakness allows Denial of Service (DoS)
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 how the auth chain cover index is calculated. 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.
References
- github.com/advisories/GHSA-3h7q-rfh9-xm4v
- github.com/element-hq/synapse
- github.com/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01a
- github.com/element-hq/synapse/releases/tag/v1.105.1
- github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v
- nvd.nist.gov/vuln/detail/CVE-2024-31208
Code Behaviors & Features
Detect and mitigate CVE-2024-31208 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →