CVE-2022-4044: Denial of service in Mattermost
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.6721%
CWE
Published
11/23/2022
Updated
1/29/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/mattermost/mattermost-server | go | < 7.1.4 | 7.1.4 |
| github.com/mattermost/mattermost-server | go | >= 7.2.0, < 7.2.1 | 7.2.1 |
| github.com/mattermost/mattermost-server | go | >= 7.3.0, < 7.3.1 | 7.3.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing size validation in two key areas: 1) User store operations handling NotifyProps (insert/update flows), and 2) Data serialization for database storage. The patched code adds validation in both layers. In vulnerable versions, SqlUserStore methods processed user-provided NotifyProps containing autoresponder messages without size checks, while the model utilities serialized this data without resource limits. During exploitation, all these functions would appear in call stacks when processing oversized payloads.