CVE-2024-1402
Denial of service in mattermost mobile apps and server via emoji reactions
Reported by mattermost · Published February 9, 2024
github.com/mattermost/mattermost/server/v8 is fixed in 9.2.4, 9.1.5 and 8.1.8 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 | Go Modules | 9.2.4, 9.1.5, 8.1.8 |
| Mattermost | Mattermost | 9.1.4, 8.1.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost | 0, 0, 0 |
| wolfi | mattermost-10.1 | * |
| chainguard | mattermost-10.3 | * |
| wolfi | mattermost-10.5 | * |
| chainguard | mattermost-fips-10.6 | * |
| chainguard | mattermost-10.5 | * |
| Mattermost | Mattermost | 0, 8.1.8, 9.1.5 |
| chainguard | mattermost-10.2 | * |
| wolfi | mattermost-10.3 | * |
| chainguard | mattermost-fips-10.7 | 0 |
| wolfi | mattermost-10.4 | * |
| chainguard | mattermost-9 | * |
| chainguard | mattermost-9.11 | * |
| github.com | mattermost/mattermost/server/v8 | 9.1.0, 0, 9.2.0 |
| wolfi | mattermost-10.2 | * |
| chainguard | mattermost-fips-9.11 | * |
| chainguard | mattermost-fips-10.5 | * |
| chainguard | mattermost-10.4 | * |
| chainguard | mattermost-10.0 | * |
| chainguard | mattermost-10.1 | * |
…and 2 more
Timeline
- Feb 9, 2024 CVE Published
- Feb 9, 2024 PoC Published (2 in total, the first dated here)
- Feb 10, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-1402
vulnetix vdb fixes CVE-2024-1402
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-1402/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-1402 advisory
- https://github.com/advisories/GHSA-32h7-7j94-8fc2 advisory
- https://github.com/mattermost/mattermost/commit/64cb0ca8af2dbda1afcddd1604460591a4799b81 patch
- https://github.com/mattermost/mattermost/commit/6d2440de9fd774b67e65e3aac4ab8b6ef9aba2d8 patch
- https://github.com/mattermost/mattermost/commit/81190e2da128a6985914ea7023a69ac400513fc4 patch
- https://github.com/mattermost/mattermost url