Allocation of Resources Without Limits or Throttling Affecting matrix-synapse package, versions [,1.120.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-PYTHON-MATRIXSYNAPSE-8454890
  • published4 Dec 2024
  • disclosed3 Dec 2024
  • creditUnknown

Introduced: 3 Dec 2024

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

How to fix?

Upgrade matrix-synapse to version 1.120.2 or higher.

Overview

matrix-synapse is an ecosystem for open federated Instant Messaging and VoIP.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the improper handling of multipart/form-data content types. An attacker can amplify denial of service attacks by sending crafted requests that transiently increase memory consumption.

Workaround

This vulnerability can be mitigated by limiting request sizes or blocking the multipart/form-data content type before the requests reach the application, or by setting a low max_upload_size.

CVSS Scores

version 4.0
version 3.1