Improper Check for Unusual or Exceptional Conditions Affecting github.com/mattermost/mattermost/server/public/model 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-GITHUBCOMMATTERMOSTMATTERMOSTSERVERPUBLICMODEL-6674252
  • published 26 Apr 2024
  • disclosed 26 Apr 2024
  • credit Unknown

How to fix?

Upgrade github.com/mattermost/mattermost/server/public/model 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 Improper Check for Unusual or Exceptional Conditions due to improper handling of JSON parsing errors in custom status values. An attacker can crash other users' web clients by submitting a malformed custom status.

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