{"id":"GHSA-wj37-mpq9-xrcm","summary":"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.","aliases":["CVE-2024-4183","GO-2024-2798"],"modified":"2025-05-12T21:48:38Z","published":"2024-04-26T09:30:34Z","database_specific":{"github_reviewed_at":"2024-04-26T19:10:41Z","nvd_published_at":"2024-04-26T09:15:12Z","cwe_ids":["CWE-400","CWE-770"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4183"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/86920d641760552c5aafa5e1d14c93bd30039bc4"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/9d81eee979aee93374bff8ba6714d805e12ffb03"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/b45c3dac4c160992a1ce757ade968e8f5ec506c1"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/bc699e6789cf3ba1544235087897699aaa639e7d"},{"type":"PACKAGE","url":"https://github.com/mattermost/mattermost"},{"type":"WEB","url":"https://mattermost.com/security-updates"}],"affected":[{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.6.0-rc1"},{"fixed":"9.6.1"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 9.6.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-wj37-mpq9-xrcm/GHSA-wj37-mpq9-xrcm.json"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.5.0"},{"fixed":"9.5.3"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 9.5.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-wj37-mpq9-xrcm/GHSA-wj37-mpq9-xrcm.json"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.4.0"},{"fixed":"9.4.5"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 9.4.4","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-wj37-mpq9-xrcm/GHSA-wj37-mpq9-xrcm.json"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.1.0"},{"fixed":"8.1.12"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 8.1.11","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-wj37-mpq9-xrcm/GHSA-wj37-mpq9-xrcm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}]}