Vulnerability · Published Dec 3, 2024 · Assigned by GitHub_M
CVE-2024-52805Synapse allows unsupported content types to lead to memory exhaustion
High 8.2
In plain English
A high-severity resource allocation without limits 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.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Synapse is an open-source Matrix homeserver. In Synapse before 1.120.1, multipart/form-data requests can in certain configurations transiently increase memory consumption beyond expected levels while processing the request, which can be used to amplify denial of service attacks. Synapse 1.120.1 resolves the issue by denying requests with unsupported multipart/form-data content type.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | synapse | 1.120.1 | ALPINE-CVE-2024-52805 |
| Alpine:v3.21 | synapse | 1.120.2-r0 | ALPINE-CVE-2024-52805 |
| Alpine:v3.22 | synapse | 1.120.2-r0 | ALPINE-CVE-2024-52805 |
| Alpine:v3.23 | synapse | 1.120.2-r0 | ALPINE-CVE-2024-52805 |
| Alpine:v3.24 | synapse | 1.120.2-r0 | ALPINE-CVE-2024-52805 |
| Debian:14 | matrix-synapse | 1.121.0-1 | DEBIAN-CVE-2024-52805 |
| PyPI | matrix-synapse | 1.120.1 | GHSA-rfq8-j7rh-8hf2 |
| PyPI | matrix-synapse | 1.120.1 | PYSEC-2026-1613 |
| Ubuntu:24.04:LTS | matrix-synapse | no fix listed | UBUNTU-CVE-2024-52805 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| element-hq | synapse | < 1.120.1 |
Weakness: CWE-770 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N