CVE-2024-37302
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedSynapse 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceSynapse Matrix homeserver versions before 1.106 are vulnerable to a disk fill attack where unauthenticated adversaries can induce the server to download and cache arbitrarily large amounts of remote media, overwhelming storage and causing denial of service. The default rate limiting is insufficient to prevent this abuse. Version 1.106 introduces a leaky bucket rate limit on remote media downloads to restrict how much data can be cached, though this is acknowledged as an incomplete fix.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 1.106.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Determine installed Synapse versionRun `python -c "import synapse; print(synapse.__version__)"` or check your package manager for the installed synapse package versionAffected if The installed version is below 1.106.0
-
Check if remote media caching is enabledInspect your homeserver.yaml configuration file and look for settings that enable fetching of remote media from other Matrix servers (such as settings related to media retention, remote media downloading, or thumbnail generation from non-local URLs)Affected if Remote media fetching from other Matrix servers is enabled and caching is permitted
-
Verify rate limiting on remote media downloadsExamine your homeserver.yaml for rate limiting configurations related to remote media downloads. In versions before 1.106, the default settings allow unlimited remote media cachingAffected if No leaky bucket rate limit or insufficient rate limiting is configured for remote media downloads; the server relies on default rate limits only
-
Check media storage configurationReview your media store paths and any retention policies in homeserver.yaml. Look for settings controlling how long remote media is cached and maximum storage limitsAffected if Remote media is stored without aggressive retention limits or storage quotas, allowing unbounded cache growth
You are affected if your Synapse version is below 1.106.0 AND remote media fetching from other Matrix servers is enabled without proper rate limiting on downloads.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.106.0
Upgrade to Synapse 1.106 or later and configure the new leaky bucket rate limiting for remote media. Given that the official fix is acknowledged as incomplete, consider additional hardening such as media storage isolation, aggressive caching policies, and monitoring for anomalous download patterns.
1.106.0
- Check current Synapse version using 'pip show synapse' or your package manager
- Consult the official Synapse upgrade documentation at https://matrix-org.github.io/synapse/latest/upgrade.html
- Create a full backup of your Synapse database and configuration files
- Stop the Synapse service
- Upgrade Synapse using your package manager (e.g., 'pip install --upgrade synapse' or your system package manager)
- Verify the installed version is 1.106.0 or later using 'pip show synapse'
- Restart the Synapse service
- Monitor logs for any errors or issues following the upgrade
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,848.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-37302 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-37302 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data