CVE-2022-4045 Denial of service in Mattermost
Authenticated users can crash the Mattermost server by sending multiple requests that fetch large amounts of data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-4045?
CVE-2022-4045 is a low-severity denial of service vulnerability in Mattermost Mattermost, published on 23 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A denial-of-service vulnerability in the Mattermost allows an authenticated user to crash the server via multiple requests to one of the API endpoints which could fetch a large amount of data.
Weakness: CWE-770
Which versions are affected by CVE-2022-4045?
6 open source packages ship an affected version, including github.com/mattermost/mattermost-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/mattermost/mattermost-server Go | All versions | 7.1.4 |
github.com/mattermost/mattermost-server Go | All versions | 7.1.4 |
github.com/mattermost/mattermost-server Go | From 7.2.0 | 7.2.1 |
github.com/mattermost/mattermost-server Go | From 7.2.0 | 7.2.1 |
github.com/mattermost/mattermost-server Go | From 7.3.0 | 7.3.1 |
github.com/mattermost/mattermost-server Go | From 7.3.0 | 7.3.1 |
Products include Mattermost Mattermost.
How do I fix CVE-2022-4045?
Upgrade github.com/mattermost/mattermost-server to a fixed version for your release line: 7.1.4, 7.2.1 or 7.3.1.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-4045 being exploited?
There is no known exploitation of CVE-2022-4045 in the wild and no public exploit code.
Other vulnerabilities in Mattermost Mattermost
- CVE-2019-20851 Path traversal in n/a
- CVE-2024-39274 Malicious remote can add users to arbitrary teams and channels
- CVE-2024-39777 Malicious remote can invite itself to an arbitrary local channel
- CVE-2024-39830 Timing attack during remote cluster token comparison when shared channels are enabled
- CVE-2023-3615 Lack of server certificate validation in websockets connection
Sources
Also known as GHSA-v42f-hq78-8c5m, MINI-733g-7vwv-88fc, MINI-963x-5536-xmg8, MINI-g28f-w2fj-763g, MINI-q6fv-4378-8576.