PyPI: matrix-synapse

CVE-2024-37302

Safety vulnerability ID: SFTY-20241203-26055

Safety legacy ID: pyup.io-74426

Affected versions of Synapse are vulnerable to Allocation of Resources Without Limits or Throttling (CWE-770). This vulnerability allows unauthenticated attackers to induce excessive remote media downloads, potentially exhausting disk space and causing denial of service, ranging from failed media operations to complete Synapse unavailability. The attack vector exploits unauthenticated media download endpoints with inadequate rate limiting. To mitigate this issue, upgrade to Synapse version 1.106 or later, which introduces a "leaky bucket" rate limit on media downloads. Additionally, server operators can limit maximum file sizes or allocate media storage to dedicated disks to reduce impact.

Created at: Nov 5, 2025Updated at: Nov 5, 2025

Overview

Synapse denial of service through media disk space consumption

Advisory

Affected versions of Synapse are vulnerable to Allocation of Resources Without Limits or Throttling (CWE-770). This vulnerability allows unauthenticated attackers to induce excessive remote media downloads, potentially exhausting disk space and causing denial of service, ranging from failed media operations to complete Synapse unavailability. The attack vector exploits unauthenticated media download endpoints with inadequate rate limiting. To mitigate this issue, upgrade to Synapse version 1.106 or later, which introduces a "leaky bucket" rate limit on media downloads. Additionally, server operators can limit maximum file sizes or allocate media storage to dedicated disks to reduce impact.

Affected Package

Affecting matrix-synapse package, versions<1.106

Also affects

---

How to Fix

Upgradematrix-synapseto1.106.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more