CVE-2024-52805
published 2024-12-03CVE-2024-52805: Synapse is an open-source Matrix homeserver. In Synapse before 1.120.1, multipart/form-data requests can in certain configurations transiently increase memory…
PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.71%
49.6th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | matrix-synapse | < matrix-synapse 1.121.0-1 (forky) | matrix-synapse 1.121.0-1 (forky) |
| element-hq | synapse | < 1.120.1 | 1.120.1 |
| matrix | synapse | < 1.120.1 | 1.120.1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv4.08.2HIGHCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
osv8.2HIGH
vendor_debian8.2HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2024-52805: Synapse is an open-source Matrix homeserver
osv·2024-12-03·CVSS 8.2
CVE-2024-52805 [HIGH] CVE-2024-52805: Synapse is an open-source Matrix homeserver
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.
OSV
Synapse allows unsupported content types to lead to memory exhaustion
osv·2024-12-03
CVE-2024-52805 [HIGH] Synapse allows unsupported content types to lead to memory exhaustion
Synapse allows unsupported content types to lead to memory exhaustion
### Impact
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.
### Patches
Synapse 1.120.1 resolves the issue by denying requests with unsupported `multipart/form-data` content type.
### Workarounds
Limiting request sizes or blocking the `multipart/form-data` content type before the requests reach Synapse, for example in a reverse proxy, alleviates the issue. Another approach that mitigates the attack is to use a low `max_upload_size` in Synapse.
### References
- https://github.com/twisted/twisted/issues/4688#issuecomment-116770551
GHSA
Synapse allows unsupported content types to lead to memory exhaustion
ghsa·2024-12-03
CVE-2024-52805 [HIGH] CWE-770 Synapse allows unsupported content types to lead to memory exhaustion
Synapse allows unsupported content types to lead to memory exhaustion
### Impact
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.
### Patches
Synapse 1.120.1 resolves the issue by denying requests with unsupported `multipart/form-data` content type.
### Workarounds
Limiting request sizes or blocking the `multipart/form-data` content type before the requests reach Synapse, for example in a reverse proxy, alleviates the issue. Another approach that mitigates the attack is to use a low `max_upload_size` in Synapse.
### References
- https://github.com/twisted/twisted/issues/4688#issuecomment-116770551
Debian
CVE-2024-52805: matrix-synapse - Synapse is an open-source Matrix homeserver. In Synapse before 1.120.1, multipar...
vendor_debian·2024·CVSS 8.2
CVE-2024-52805 [HIGH] CVE-2024-52805: matrix-synapse - Synapse is an open-source Matrix homeserver. In Synapse before 1.120.1, multipar...
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.
Scope: local
forky: resolved (fixed in 1.121.0-1)
sid: resolved (fixed in 1.121.0-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-12-03
Published