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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | synapse | 1.120.1 | ALPINE-CVE-2024-52815 |
| Alpine:v3.21 | synapse | 1.120.2-r0 | ALPINE-CVE-2024-52815 |
| Alpine:v3.22 | synapse | 1.120.2-r0 | ALPINE-CVE-2024-52815 |
| Alpine:v3.23 | synapse | 1.120.2-r0 | ALPINE-CVE-2024-52815 |
| Alpine:v3.24 | synapse | 1.120.2-r0 | ALPINE-CVE-2024-52815 |
| Debian:14 | matrix-synapse | 1.121.0-1 | DEBIAN-CVE-2024-52815 |
| PyPI | matrix-synapse | 1.120.1 | GHSA-f3r3-h2mq-hx2h |
| PyPI | matrix-synapse | 1.120.1 | PYSEC-2026-1611 |
| Ubuntu:24.04:LTS | matrix-synapse | no fix listed | UBUNTU-CVE-2024-52815 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/element-hq/synapse/security/advisories/GHSA-f3r3-h2mq-hx2h x_refsource_CONFIRM