GitHub Advisory Database
GHSA-wj37-mpq9-xrcm
Mattermost fails to limit the number of active sessions
Details
Mattermost versions 8.1.x before 8.1.12, 9.6.x before 9.6.1, 9.5.x before 9.5.3, 9.4.x before 9.4.5 fail to limit the number of active sessions, which allows an authenticated attacker to crash the server via repeated requests to the getSessions API after flooding the sessions table.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost-server | From 9.6.0-rc1 before 9.6.1 (fixed in 9.6.1) |
| Go | github.com/mattermost/mattermost-server | From 9.5.0 before 9.5.3 (fixed in 9.5.3) |
| Go | github.com/mattermost/mattermost-server | From 9.4.0 before 9.4.5 (fixed in 9.4.5) |
| Go | github.com/mattermost/mattermost-server | From 8.1.0 before 8.1.12 (fixed in 8.1.12) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-4183
- https://github.com/mattermost/mattermost/commit/86920d641760552c5aafa5e1d14c93bd30039bc4
- https://github.com/mattermost/mattermost/commit/9d81eee979aee93374bff8ba6714d805e12ffb03
- https://github.com/mattermost/mattermost/commit/b45c3dac4c160992a1ce757ade968e8f5ec506c1
- https://github.com/mattermost/mattermost/commit/bc699e6789cf3ba1544235087897699aaa639e7d
- https://github.com/mattermost/mattermost
- https://mattermost.com/security-updates