Improper Access Control Affecting github.com/mattermost/mattermost/server/platform/services/sharedchannel package, versions <9.5.7>=9.7.0 <9.7.6>=9.8.0 <9.8.2>=9.9.0 <9.9.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (16th 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 Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERPLATFORMSERVICESSHAREDCHANNEL-7577984
  • published2 Aug 2024
  • disclosed1 Aug 2024
  • creditJuho Forsén

Introduced: 1 Aug 2024

CVE-2024-39839  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost/server/platform/services/sharedchannel to version 9.5.7, 9.7.6, 9.8.2, 9.9.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control due to the improper validation of user input in the remote username setting process. An attacker can manipulate the username to an arbitrary value by exploiting the lack of proper input sanitization when shared channels are enabled.

CVSS Scores

version 4.0
version 3.1