CVE-2022-4044 — mattermost-server
MEDIUMCVE-2022-4044 is a medium-severity (CVSS 4.3) CWE-770 vulnerability in github.com/mattermost/mattermost-server. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for github.com/mattermost/mattermost-server — see the affected versions and patch details below.
Authenticated user could send multiple requests containing a large Auto Responder Message payload and can crash a Mattermost server
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2022-4044.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/mattermost/mattermost-server🐹github.com/mattermost/mattermost-server🐹github.com/mattermost/mattermost-serverReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large autoresponder messages.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/mattermost/mattermost-server | all versions | 7.1.4go get github.com/mattermost/mattermost-server@v7.1.4 |
| 🐹Go | github.com/mattermost/mattermost-server | ≥ 7.2.0&&< 7.2.1 | 7.2.1go get github.com/mattermost/mattermost-server@v7.2.1 |
| 🐹Go | github.com/mattermost/mattermost-server | ≥ 7.3.0&&< 7.3.1 | 7.3.1go get github.com/mattermost/mattermost-server@v7.3.1 |
Affected Products
mattermostmattermostResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/mattermost/mattermost-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/mattermost/mattermost-server to 7.1.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-4044 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2022-4044 in your dependencies?
Find it across Go, including transitive dependencies.