GitHub Advisory Database
GHSA-826h-p4c3-477p
Mattermost Race Condition vulnerability
Details
Mattermost versions 10.1.x <= 10.1.2, 10.0.x <= 10.0.2, 9.11.x <= 9.11.4, and 9.5.x <= 9.5.12 fail to prevent concurrently checking and updating the failed login attempts. which allows an attacker to bypass of "Max failed attempts" restriction and send a big number of login attempts before being blocked via simultaneously sending multiple login requests
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | From 10.1.0 before 10.1.3 (fixed in 10.1.3) |
| Go | github.com/mattermost/mattermost/server/v8 | From 10.0.0 before 10.0.3 (fixed in 10.0.3) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.11.0 before 9.11.5 (fixed in 9.11.5) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.5.0 before 9.5.13 (fixed in 9.5.13) |