GitHub Advisory Database
GHSA-gg42-mwr6-p82c
Mattermost Server has intermittent Authorization bypass for resource-owners
Details
An issue was discovered in Mattermost Server before 4.2.0, 4.1.1, and 4.0.5, when used as an OAuth 2.0 service provider. Resource-owner authorization can be intermittently bypassed, allowing account takeover.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost-server | All versions before 4.0.5 (fixed in 4.0.5) |
| Go | github.com/mattermost/mattermost-server | From 4.1.0 before 4.1.1 (fixed in 4.1.1) |
| Go | github.com/mattermost/mattermost-server | From 4.2.0-rc1 before 4.2.0 (fixed in 4.2.0) |