LOW2.6
GHSA-3g35-v53r-gpxc
Mattermost race condition
Quick fix
GHSA-3g35-v53r-gpxc — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost/server/v8@v9.4.2Details
A race condition in Mattermost versions 8.1.x before 8.1.9, and 9.4.x before 9.4.2 allows an authenticated attacker to gain unauthorized access to individual posts' contents via carefully timed post creation while another user deletes posts.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mattermost/mattermost/server/v8
Introduced in:
9.0.0Fixed in: 9.4.2Fix
go get github.com/mattermost/mattermost/server/v8@v9.4.2Go/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"]}'