Allocation of Resources Without Limits or Throttling Affecting synapse package, versions <1.110.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE321-SYNAPSE-8489432
  • published6 Dec 2024
  • disclosed3 Dec 2024

Introduced: 3 Dec 2024

NewCVE-2024-37302  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 synapse to version 1.110.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream synapse package and not the synapse package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

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.