{"id":"CVE-2024-1402","aliases":["CVE-2024-1402","GHSA-32h7-7j94-8fc2","BIT-MATTERMOST-2024-1402","GO-2024-2541"],"related":["CGA-hjwm-8q7q-349m"],"kind":"vulnerability","state":"published","title":"Denial of service in mattermost mobile apps and server via emoji reactions","summary":"Mattermost fails to check if a custom emoji reaction exists when sending it to a post and to limit the amount of custom emojis allowed to be added in a post, allowing an attacker sending a huge amount of non-existent custom emojis in a post to crash the mobile app of a user seeing the post and to crash the server due to overloading when clients attempt to retrive the aforementioned post.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mattermost fails to check if a custom emoji reaction exists when sending it to a post and to limit the amount of custom emojis allowed to be added in a post, allowing an attacker sending a huge amount of non-existent custom emojis in a post to crash the mobile app of a user seeing the post and to crash the server due to overloading when clients attempt to retrive the aforementioned post.","source":"cvelist"},{"lang":"en","text":"Mattermost fails to check if a custom emoji reaction exists when sending it to a post and to limit the amount of custom emojis allowed to be added in a post, allowing an attacker sending a huge amount of non-existent custom emojis in a post to crash the mobile app of a user seeing the post. Fetching posts with huge amounts of reactions results in Uncontrolled Resource Consumption.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Mattermost vulnerable to denial of service via large number of emoji reactions 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.8.","format":"markdown","source":"go"},{"lang":"es","text":"Mattermost no verifica si existe una reacción de emoji personalizada al enviarla a una publicación y no limita la cantidad de emojis personalizados que se pueden agregar en una publicación, lo que permite que un atacante que envía una gran cantidad de emojis personalizados inexistentes en una publicación falle la aplicación móvil de un usuario que ve la publicación.","source":"nvd"}],"published":"2024-02-09T15:09:18.157Z","modified":"2026-09-10T03:50:05.197Z","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":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"8.1.7","status":"affected"},{"type":"semver","introduced":"0","lastAffected":"9.1.4","status":"affected"},{"type":"semver","introduced":"0","lastAffected":"9.2.3","status":"affected"},{"version":"9.3.0","status":"unaffected"},{"version":"9.2.4","status":"unaffected"},{"version":"9.1.5","status":"unaffected"},{"version":"8.1.8","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.1.8"}],"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.4"}],"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.1.0","status":"affected","fixed":"9.1.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":"9.1.0+incompatible","status":"affected","fixed":"9.1.5+incompatible"},{"type":"semver","introduced":"9.2.0+incompatible","status":"affected","fixed":"9.2.4+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","lastAffected":"8.1.7"},{"status":"affected","introduced":"9.0.0","lastAffected":"9.1.4"},{"status":"affected","introduced":"9.2.0","lastAffected":"9.2.3"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"9.6.1"}],"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-1402","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/mattermost/mattermost/commit/64cb0ca8af2dbda1afcddd1604460591a4799b81","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/6d2440de9fd774b67e65e3aac4ab8b6ef9aba2d8","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/81190e2da128a6985914ea7023a69ac400513fc4","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-32h7-7j94-8fc2","tags":["advisory"],"sources":["go"]}],"credits":["Gian Klug (coderion)"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-22T17:55:23.358Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-1402","url":"https://www.cve.org/CVERecord?id=CVE-2024-1402","licence":"CVE Terms of Use","modified":"2024-08-01T18:40:20.579Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-32h7-7j94-8fc2","url":"https://github.com/advisories/GHSA-32h7-7j94-8fc2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:05.197Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2541","url":"https://pkg.go.dev/vuln/GO-2024-2541","licence":"CC-BY-4.0","modified":"2026-02-04T04:21:26.117Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-1402","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1402","licence":"Public domain","modified":"2026-06-17T07:04:09.783Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MATTERMOST-2024-1402","url":"https://osv.dev/vulnerability/BIT-MATTERMOST-2024-1402","licence":"Apache-2.0","modified":"2025-04-03T14:40:37.652Z"}],"updatedAt":"2026-11-25T22:58:36.701Z","epss":{"score":0.0052,"percentile":0.45641,"date":"2026-12-02T12:00:21.000Z"}}