MEDIUM4.3
GHSA-6mvp-gh77-7vwh
Mattermost Server allows user to get private channel names
Quick fix
GHSA-6mvp-gh77-7vwh — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20240813135334-8f3a13122f55Details
Mattermost versions 9.5.x <= 9.5.9 fail to properly filter the channel data when ElasticSearch is enabled which allows a user to get private channel names by using cmd+K/ctrl+K.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mattermost/mattermost/server/v8
Introduced in:
0Fixed in: 8.0.0-20240813135334-8f3a13122f55Fix
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20240813135334-8f3a13122f55References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/mattermost/mattermost/server/v8"]}'