Improper Check for Unusual or Exceptional Conditions Affecting github.com/mattermost/mattermost/server/channels/store/sqlstore package, versions >=9.11.0 <9.11.7>=10.0.0 <10.4.0


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.04% (12th 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 IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERCHANNELSSTORESQLSTORE-8730859
  • published16 Feb 2025
  • disclosed14 Feb 2025
  • creditUnknown

Introduced: 14 Feb 2025

CVE-2025-0503  (opens in a new tab)
CWE-754  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost/server/channels/store/sqlstore to version 9.11.7, 10.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions due to the improper filtering of the deleted_channels endpoint. An attacker can infer user IDs and other metadata from deleted DMs by exploiting the endpoint if someone had manually marked DMs as deleted in the database.

CVSS Base Scores

version 4.0
version 3.1