GitHub Advisory Database
GHSA-vm9m-57jr-4pxh
Mattermost fails to limit the number of role names
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | From 9.4.0 before 9.4.2 (fixed in 9.4.2) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.3.0 before 9.3.1 (fixed in 9.3.1) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.2.0 before 9.2.5 (fixed in 9.2.5) |
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.1.9 (fixed in 8.1.9) |