{"id":"CVE-2024-1953","aliases":["CVE-2024-1953","GHSA-vm9m-57jr-4pxh","BIT-MATTERMOST-2024-1953","GO-2024-2594"],"related":["CGA-8wh8-26c8-mqpw"],"kind":"vulnerability","state":"published","title":"Mattermost fails to limit the number of role names","summary":"Mattermost versions 8.1.x before 8.1.9, 9.2.x before 9.2.5, 9.3.0, and 9.4.x before 9.4.2 fail to limit the number of role names requested from the API, allowing an authenticated attacker to cause the server to run out of memory and crash by issuing an unusually large HTTP request.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mattermost versions 8.1.x before 8.1.9, 9.2.x before 9.2.5, 9.3.0, and 9.4.x before 9.4.2 fail to limit the number of role names requested from the API, allowing an authenticated attacker to cause the server to run out of memory and crash by issuing an unusually large HTTP request.","source":"cvelist"},{"lang":"en","text":"Mattermost fails to limit the number of role names in github.com/mattermost/mattermost-server.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/mattermost/mattermost/server/v8 before v8.1.9.","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Mattermost 8.1.x anteriores a 8.1.9, 9.2.x anteriores a 9.2.5, 9.3.0 y 9.4.x anteriores a 9.4.2 no limitan el número de nombres de roles solicitados desde la API, lo que permite a un atacante autenticado provocar que el servidor se quede sin memoria y falle al emitir una solicitud HTTP inusualmente grande.","source":"nvd"}],"published":"2024-02-29T10:42:41.576Z","modified":"2026-09-10T03:50:09.966Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"9.4.0","lastAffected":"9.4.1","status":"affected"},{"version":"9.3.0","status":"affected"},{"type":"semver","introduced":"9.2.0","lastAffected":"9.2.4","status":"affected"},{"type":"semver","introduced":"8.1.0","lastAffected":"8.1.8","status":"affected"},{"version":"9.5","status":"unaffected"},{"version":"9.4.2","status":"unaffected"},{"version":"9.3.1","status":"unaffected"},{"version":"9.2.5","status":"unaffected"},{"version":"8.1.9","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"9.4.0","status":"affected","fixed":"9.4.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.3.0","status":"affected","fixed":"9.3.1"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.2.0","status":"affected","fixed":"9.2.5"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.1.9"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.2.0+incompatible","status":"affected","fixed":"9.2.5+incompatible"},{"type":"semver","introduced":"9.3.0+incompatible","status":"affected","fixed":"9.3.1+incompatible"},{"type":"semver","introduced":"9.4.0+incompatible","status":"affected","fixed":"9.4.2+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"8.1.0","fixed":"8.1.9"},{"status":"affected","introduced":"9.2.0","fixed":"9.2.5"},{"status":"affected","introduced":"9.4.0","fixed":"9.4.2"},{"status":"affected","version":"9.3.0"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.1.0","status":"affected","fixed":"8.1.9"},{"type":"semver","introduced":"9.2.0","status":"affected","fixed":"9.2.5"},{"type":"semver","introduced":"9.4.0","status":"affected","fixed":"9.4.2"},{"type":"semver","introduced":"9.3.0","status":"affected","lastAffected":"9.3.0"}],"ecosystem":"Bitnami","package":"mattermost","purl":"pkg:bitnami/mattermost","source":"bitnami"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1953","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2594","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-vm9m-57jr-4pxh","tags":["advisory"],"sources":["go"]}],"credits":["vultza"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-16T20:58:10.089Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-1953","url":"https://www.cve.org/CVERecord?id=CVE-2024-1953","licence":"CVE Terms of Use","modified":"2024-08-16T20:58:25.047Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vm9m-57jr-4pxh","url":"https://github.com/advisories/GHSA-vm9m-57jr-4pxh","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:09.966Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2594","url":"https://pkg.go.dev/vuln/GO-2024-2594","licence":"CC-BY-4.0","modified":"2026-02-04T04:30:49.789Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-1953","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1953","licence":"Public domain","modified":"2026-06-17T07:05:29.500Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MATTERMOST-2024-1953","url":"https://osv.dev/vulnerability/BIT-MATTERMOST-2024-1953","licence":"Apache-2.0","modified":"2025-04-03T14:40:37.652Z"}],"updatedAt":"2026-11-25T22:58:37.189Z","epss":{"score":0.00508,"percentile":0.44902,"date":"2026-12-01T12:00:22.000Z"}}