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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (12th 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-PYTHON-MATRIXSYNAPSE-6672872
  • published24 Apr 2024
  • disclosed23 Apr 2024
  • creditUnknown

Introduced: 23 Apr 2024

CVE-2024-31208  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade matrix-synapse to version 1.105.1 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 a weakness in how the auth chain cover index is calculated. An attacker can induce high CPU consumption and accumulate excessive data in the database by dispatching specially crafted events.

Workaround

Users can:

  1. ban the malicious users or ACL block servers from the rooms; and/or

  2. leave the room and purge the room using the admin API

CVSS Scores

version 3.1