GitHub Advisory Database
GHSA-w496-f5qq-m58j
Mattermost vulnerable to excessive memory consumption
Details
Mattermost fails to properly sanitize the request to /api/v4/redirect_location allowing an attacker, sending a specially crafted request to /api/v4/redirect_location, to fill up the memory due to caching large items.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost-server/v6 | All versions before 7.8.12 (fixed in 7.8.12) |
| Go | github.com/mattermost/mattermost/server/v8 | From 8.0.0 before 8.0.4 (fixed in 8.0.4) |
| Go | github.com/mattermost/mattermost/server/v8 | From 8.1.0 before 8.1.3 (fixed in 8.1.3) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.0.0 before 9.0.1 (fixed in 9.0.1) |