ADVISORIES

GitHub Advisory Database

GHSA-32h7-7j94-8fc2

Mattermost vulnerable to denial of service via large number of emoji reactions

Details

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.1.8 (fixed in 8.1.8)
Gogithub.com/mattermost/mattermost/server/v8
From 9.2.0 before 9.2.4 (fixed in 9.2.4)
Gogithub.com/mattermost/mattermost/server/v8
From 9.1.0 before 9.1.5 (fixed in 9.1.5)

References