ADVISORIES

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

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 9.6.0-rc1 before 9.6.1 (fixed in 9.6.1)
Gogithub.com/mattermost/mattermost-server
From 9.5.0 before 9.5.3 (fixed in 9.5.3)
Gogithub.com/mattermost/mattermost-server
From 9.4.0 before 9.4.5 (fixed in 9.4.5)
Gogithub.com/mattermost/mattermost-server
From 8.1.0 before 8.1.12 (fixed in 8.1.12)

References