Synapse denial of service through media disk space consumption
Synapse is an open-source Matrix homeserver. Synapse versions before 1.106 are vulnerable to a disk fill attack, where an unauthenticated adversary can induce Synapse to download and cache large amounts of remote media. The default rate limit strategy is insufficient to mitigate this. This can lead to a denial of service, ranging from further media uploads/downloads failing to completely unavailability of the Synapse process, depending on how Synapse was deployed. Synapse 1.106 introduces a new "leaky bucket" rate limit on remote media downloads to reduce the amount of data a user can request at a time. This does not fully address the issue, but does limit an unauthenticated user's ability to request large amounts of data to be cached.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-37302
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:40 UTC · Revision 1
Source evidence
Synapse denial of service through media disk space consumption
core-osv · Original sourcePublished 3 Dec 2024, 17:04 UTC
Synapse is an open-source Matrix homeserver. Synapse versions before 1.106 are vulnerable to a disk fill attack, where an unauthenticated adversary can induce Synapse to download and cache large amounts of remote media. The default rate limit strategy is insufficient to mitigate this. This can lead to a denial of service, ranging from further media uploads/downloads failing to completely unavailability of the Synapse process, depending on how Synapse was deployed. Synapse 1.106 introduces a new "leaky bucket" rate limit on remote media downloads to reduce the amount of data a user can request at a time. This does not fully address the issue, but does limit an unauthenticated user's ability to request large amounts of data to be cached.
osv:CVE-2024-37302
Complete source record
{
"id": "b48a7311b4e79ea6de86281285c9831f0149eb2a7c2ad92558f6ee9278a0ea26",
"url": "https://osv.dev/vulnerability/CVE-2024-37302",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Synapse denial of service through media disk space consumption",
"summary": "Synapse is an open-source Matrix homeserver. Synapse versions before 1.106 are vulnerable to a disk fill attack, where an unauthenticated adversary can induce Synapse to download and cache large amounts of remote media. The default rate limit strategy is insufficient to mitigate this. This can lead to a denial of service, ranging from further media uploads/downloads failing to completely unavailability of the Synapse process, depending on how Synapse was deployed. Synapse 1.106 introduces a new \"leaky bucket\" rate limit on remote media downloads to reduce the amount of data a user can request at a time. This does not fully address the issue, but does limit an unauthenticated user's ability to request large amounts of data to be cached.",
"evidence": "osv:CVE-2024-37302",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-37302",
"aliases": [
"CVE-2024-37302",
"GHSA-4mhg-xv73-xq2x",
"PYSEC-2024-286"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/element-hq/synapse",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e26673fe971a4d0316723b0e9ab487297db359f2"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.106"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
}
],
"versions": [
"v1.106.0rc1",
"v1.105.0rc1",
"v1.104.0rc1",
"v1.103.0rc1",
"v1.101.0rc1",
"v1.100.0rc3",
"v1.100.0rc2",
"v1.100.0rc1",
"v1.99.0rc1",
"v1.98.0rc1",
"v1.95.0rc1",
"v1.94.0rc1",
"v1.90.0rc1",
"v1.88.0rc1",
"v1.87.0rc1",
"v1.84.0rc1",
"v1.81.0rc1",
"v1.79.0rc1",
"v1.78.0rc1",
"v1.76.0rc1",
"v1.75.0rc1",
"v1.63.0rc1",
"v1.62.0rc1",
"v1.52.0rc1",
"v1.49.0rc1",
"v1.40.0rc1",
"v1.36.0rc1",
"v1.35.0rc1",
"v1.34.0rc1",
"v1.32.0rc1",
"v1.31.0rc1",
"v1.30.0rc1",
"v1.29.0rc1",
"v1.27.0rc1",
"v1.24.0rc1",
"v1.23.0rc1",
"v1.17.0rc1",
"v1.18.0rc1",
"v1.16.0rc1",
"v1.15.0rc1",
"v1.14.0rc1",
"v1.12.0rc1",
"v1.6.0rc1",
"v1.11.0rc1",
"v1.3.0rc1",
"v1.1.0rc2",
"v1.1.0rc1",
"v1.10.0rc1",
"v1.9.0rc1",
"v1.9.0.dev2",
"v1.9.0.dev1",
"v1.8.0rc1",
"v1.5.0rc1",
"v1.4.0rc1",
"v0.99.5.1.dev0",
"v0.99.4rc1",
"v0.99.2rc1",
"v0.99.1rc1",
"hhs-8",
"hhs-7",
"hhs-6",
"hhs-5",
"hhs-3",
"hhs-2",
"hhs-1",
"v0.32.2",
"v0.32.0",
"v0.32.0rc1",
"v0.28.0-rc1",
"v0.25.0-rc1",
"v0.23.0-rc2",
"v0.23.0-rc1",
"v0.18.5",
"v0.18.4",
"v0.18.3",
"v0.18.2",
"v0.18.1",
"v0.18.0",
"v0.17.3",
"v0.17.2",
"v0.17.1",
"v0.17.0",
"v0.16.1-r1",
"v0.16.1",
"v0.16.0",
"v0.14.0",
"v0.13.3",
"v0.13.2",
"v0.13.1",
"v0.12.0",
"v0.11.1",
"v0.11.0-r2",
"v0.11.0-r1",
"v0.11.0",
"v0.10.0-r2",
"v0.10.0-r1",
"v0.10.0",
"v0.9.3",
"v0.9.2-r2",
"v0.9.2-r1",
"v0.9.2",
"v0.9.1",
"v0.9.0-r5",
"v0.9.0-r4",
"v0.9.0-r3",
"v0.9.0-r2",
"v0.9.0-r1",
"v0.9.0",
"v0.8.1-r4",
"v0.8.1-r3",
"v0.8.1-r2",
"v0.8.1-r1",
"v0.8.1",
"v0.8.0",
"v0.7.1-r4",
"v0.7.1-r3",
"v0.7.1-r2",
"v0.7.1-r1",
"v0.7.1",
"v0.7.0f",
"v0.7.0e",
"v0.7.0d",
"v0.7.0c",
"v0.7.0b",
"v0.7.0a",
"v0.7.0",
"v0.6.1f",
"v0.6.1e",
"v0.6.1d",
"v0.6.1c",
"v0.6.1b",
"v0.6.1a",
"v0.6.1",
"v0.6.0b",
"v0.6.0a",
"v0.6.0",
"v0.5.4a",
"v0.5.4",
"v0.5.3c",
"v0.5.3b",
"v0.5.3a",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.2",
"v0.4.1",
"v0.3.4",
"v0.3.3",
"v0.3.0",
"v0.2.2",
"v0.2.1a",
"v0.2.1",
"v0.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37302.json"
}
}
],
"modified": "2026-10-28T02:30:37.295210697Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37302.json",
"https://github.com/element-hq/synapse/security/advisories/GHSA-4mhg-xv73-xq2x",
"https://nvd.nist.gov/vuln/detail/CVE-2024-37302"
],
"provider_metadata": {
"cwe_ids": [
"CWE-770"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37302.json"
}
},
"related_cves": [
{
"value": "CVE-2024-37302",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504828,
"published_at": "2024-12-03T17:04:15.839+00:00"
}