MEDIUM4.3
GHSA-vm9m-57jr-4pxh
Mattermost fails to limit the number of role names
Quick fix
GHSA-vm9m-57jr-4pxh — 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
Mattermost versions 8.1.x before 8.1.9, 9.2.x before 9.2.5, 9.3.0, and 9.4.x before 9.4.2 fail to limit the number of role names requested from the API, allowing an authenticated attacker to cause the server to run out of memory and crash by issuing an unusually large HTTP request.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mattermost/mattermost/server/v8
Introduced in:
9.4.0Fixed in: 9.4.2Fix
go get github.com/mattermost/mattermost/server/v8@v9.4.2Go/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.9