GHSA-32h7-7j94-8fc2
Mattermost vulnerable to denial of service via large number of emoji reactions
Quick fix
GHSA-32h7-7j94-8fc2 — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost/server/v8@v8.1.8Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 8.1.8go get github.com/mattermost/mattermost/server/v8@v8.1.89.2.0Fixed in: 9.2.4go get github.com/mattermost/mattermost/server/v8@v9.2.49.1.0Fixed in: 9.1.5go get github.com/mattermost/mattermost/server/v8@v9.1.5References
- https://nvd.nist.gov/vuln/detail/CVE-2024-1402[ADVISORY]
- https://github.com/mattermost/mattermost/commit/64cb0ca8af2dbda1afcddd1604460591a4799b81[WEB]
- https://github.com/mattermost/mattermost/commit/6d2440de9fd774b67e65e3aac4ab8b6ef9aba2d8[WEB]
- https://github.com/mattermost/mattermost/commit/81190e2da128a6985914ea7023a69ac400513fc4[WEB]
- https://github.com/mattermost/mattermost[PACKAGE]
- https://mattermost.com/security-updates[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/mattermost/mattermost/server/v8"]}'