Mattermost · Mattermost Mobile · CVE-2024-24975
**Name of the Vulnerable Software and Affected Versions**
Mattermost Mobile versions prior to 2.13.0
**Description**
The issue is related to uncontrolled resource consumption, where the syntax highlighter fails to limit the size of the code block it processes. This allows an attacker to send a very large code block, potentially crashing the mobile app.
**Recommendations**
For versions prior to 2.13.0, update to version 2.13.0 or later to resolve the issue. As a temporary workaround, consider restricting the size of code blocks that can be processed by the syntax highlighter to prevent excessive resource consumption.