Exposure of Sensitive Information Through Metadata Affecting github.com/mattermost/mattermost/server/channels/store/sqlstore package, versions >=9.11.0 <9.11.10-rc1>=10.5.0 <10.5.2


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.03% (7th 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-9801706
  • published23 Apr 2025
  • disclosed22 Apr 2025
  • creditvultza

Introduced: 22 Apr 2025

NewCVE-2025-2424  (opens in a new tab)
CWE-1230  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost/server/channels/store/sqlstore to version 9.11.10-rc1, 10.5.2 or higher.

Overview

Affected versions of this package are vulnerable to Exposure of Sensitive Information Through Metadata when executing the UpdateChannelBookmark() function, due to improper handling of user permissions. By creating a bookmark referencing a deleted file, an attacker can expose metadata from that file.

CVSS Base Scores

version 4.0
version 3.1