Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting github.com/mattermost/mattermost/server/v8/channels/store package, versions >=8.1.0 <8.1.12 >=9.4.0 <9.4.5 >=9.5.0 <9.5.3 >=9.6.0 <9.6.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    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 ID SNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERV8CHANNELSSTORE-6674255
  • published 26 Apr 2024
  • disclosed 26 Apr 2024
  • credit vultza

How to fix?

Upgrade github.com/mattermost/mattermost/server/v8/channels/store to version 8.1.12, 9.4.5, 9.5.3, 9.6.1 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') due to the failure in limiting the number of active sessions. An attacker can crash the server by sending repeated requests to the getSessions API after flooding the sessions table.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
4.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    Low