Incorrect Authorization Affecting github.com/mattermost/mattermost-server/store/sqlstore package, versions <7.8.10>=8.1.0 <8.1.1


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.05% (23rd 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 Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERSTORESQLSTORE-5926047
  • published29 Sept 2023
  • disclosed29 Sept 2023
  • creditPyae Phyo

Introduced: 29 Sep 2023

CVE-2023-5194  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost-server/store/sqlstore to version 7.8.10, 8.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization when demoting and deactivating a user. An attacker can demote or deactivate a manager by exploiting the improper validation of permissions.

Note:

This is only exploitable if the attacker has system/user manager privileges.

CVSS Scores

version 3.1