MEDIUM4.3
GHSA-fx48-xv6q-6gp3
Mattermost post fetching without auditing in compliance export
Quick fix
GHSA-fx48-xv6q-6gp3 — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost/server/v8@v9.3.1Details
Mattermost fails to check if compliance export is enabled when fetching posts of public channels allowing a user that is not a member of the public channel to fetch the posts, which will not be audited in the compliance export.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mattermost/mattermost/server/v8
Introduced in:
9.3.0Fixed in: 9.3.1Fix
go get github.com/mattermost/mattermost/server/v8@v9.3.1Go/github.com/mattermost/mattermost/server/v8
Introduced in:
9.2.0Fixed in: 9.2.5Fix
go get github.com/mattermost/mattermost/server/v8@v9.2.5Go/github.com/mattermost/mattermost/server/v8
Introduced in:
0Fixed in: 8.1.9Fix
go get github.com/mattermost/mattermost/server/v8@v8.1.9References
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"]}'