Improper Check for Unusual or Exceptional Conditions Affecting github.com/mattermost/mattermost/server/channels/app package, versions >=9.5.0-rc1 <9.5.9-rc1 >=9.11.0-rc1 <9.11.1-rc1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (15th 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-GITHUBCOMMATTERMOSTMATTERMOSTSERVERCHANNELSAPP-8132050
  • published 29 Sep 2024
  • disclosed 26 Sep 2024
  • credit c0rydoras

How to fix?

Upgrade github.com/mattermost/mattermost/server/channels/app to version 9.5.9-rc1, 9.11.1-rc1 or higher.

Overview

github.com/mattermost/mattermost/server/channels/app is a private-cloud Slack alternative

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions in the form of post_metadata.go and post.go not stripping out non-string inputs from post content. A user can crash the frontend by sending a malicious value as the message of a permalink.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None