Vulnerability · Published Dec 3, 2024 · Assigned by GitHub_M

CVE-2024-52815Synapse allows a a malformed invite to break the invitee's `/sync`

High 8.7

In plain English

A high-severity improper input validation in synapse from element-hq. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.6%top 52.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Synapse is an open-source Matrix homeserver. Synapse versions before 1.120.1 fail to properly validate invites received over federation. This vulnerability allows a malicious server to send a specially crafted invite that disrupts the invited user's /sync functionality. Synapse 1.120.1 rejects such invalid invites received over federation and restores the ability to sync for affected users.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20synapse1.120.1ALPINE-CVE-2024-52815
Alpine:v3.21synapse1.120.2-r0ALPINE-CVE-2024-52815
Alpine:v3.22synapse1.120.2-r0ALPINE-CVE-2024-52815
Alpine:v3.23synapse1.120.2-r0ALPINE-CVE-2024-52815
Alpine:v3.24synapse1.120.2-r0ALPINE-CVE-2024-52815
Debian:14matrix-synapse1.121.0-1DEBIAN-CVE-2024-52815
PyPImatrix-synapse1.120.1GHSA-f3r3-h2mq-hx2h
PyPImatrix-synapse1.120.1PYSEC-2026-1611
Ubuntu:24.04:LTSmatrix-synapseno fix listedUBUNTU-CVE-2024-52815

Affected products (as reported)

VendorProductVersions
element-hq synapse < 1.120.1

Weakness: CWE-20 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References