Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost/server/v8
  4. ›
  5. CVE-2024-1402

CVE-2024-1402: Mattermost vulnerable to denial of service via large number of emoji reactions

February 9, 2024 (updated February 19, 2025)

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.

References

  • github.com/advisories/GHSA-32h7-7j94-8fc2
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/64cb0ca8af2dbda1afcddd1604460591a4799b81
  • github.com/mattermost/mattermost/commit/6d2440de9fd774b67e65e3aac4ab8b6ef9aba2d8
  • github.com/mattermost/mattermost/commit/81190e2da128a6985914ea7023a69ac400513fc4
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2024-1402

Code Behaviors & Features

Detect and mitigate CVE-2024-1402 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.1.8, all versions starting from 9.1.0 before 9.1.5, all versions starting from 9.2.0 before 9.2.4

Fixed versions

  • 8.1.8
  • 9.2.4
  • 9.1.5

Solution

Upgrade to versions 8.1.8, 9.1.5, 9.2.4 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/mattermost/mattermost/server/v8/CVE-2024-1402.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:56 +0000.