GitHub Advisoryadvisory · Go

GHSA-32h7-7j94-8fc2 Mattermost vulnerable to denial of service via large number of emoji reactions

MEDIUM Published 2024-02-09 Modified 2025-02-19 Official page ↗
Aliases
CVE-2024-1402
Ecosystem
Go
Packages
github.com/mattermost/mattermost/server/v8
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-400
Reviewed
2024-02-09

Affected packages

• Go github.com/mattermost/mattermost/server/v8: < 8.1.8 → fixed in 8.1.8 • Go github.com/mattermost/mattermost/server/v8: >= 9.2.0, < 9.2.4 → fixed in 9.2.4 • Go github.com/mattermost/mattermost/server/v8: >= 9.1.0, < 9.1.5 → fixed in 9.1.5

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-1402 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… vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References