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.

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

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

EcosystemPackageFixed inAdvisory
Alpine:v3.20synapse1.120.1ALPINE-CVE-2024-52805
Alpine:v3.21synapse1.120.2-r0ALPINE-CVE-2024-52805
Alpine:v3.22synapse1.120.2-r0ALPINE-CVE-2024-52805
Alpine:v3.23synapse1.120.2-r0ALPINE-CVE-2024-52805
Alpine:v3.24synapse1.120.2-r0ALPINE-CVE-2024-52805
Debian:14matrix-synapse1.121.0-1DEBIAN-CVE-2024-52805
PyPImatrix-synapse1.120.1GHSA-rfq8-j7rh-8hf2
PyPImatrix-synapse1.120.1PYSEC-2026-1613
Ubuntu:24.04:LTSmatrix-synapseno fix listedUBUNTU-CVE-2024-52805

Affected products (as reported)

VendorProductVersions
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

References