CVE-2022-1337Mattermost Server
Medium 6.5
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- Yes
- Published
- Apr 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
The image proxy component in Mattermost version 6.4.1 and earlier allocates memory for multiple copies of a proxied image, which allows an authenticated attacker to crash the server via links to very large image files.
What to do
- Apply the vendor's security update for Mattermost Server.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v5 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v6 |
< 6.4.2 |
6.4.2 |
go get github.com/mattermost/mattermost-server/v6@v6.4.2 |
| Go | github.com/mattermost/mattermost-server/v6 |
< 6.4.2 |
6.4.2 |
go get github.com/mattermost/mattermost-server/v6@v6.4.2 |
Per OSV / GitHub Advisories (GO-2022-0595, GHSA-f37q-q7p2-ccfc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 5.37.0 < 5.37.9 |
| mattermost | mattermost_server | ≥ 6.2.0 < 6.2.5 |
| mattermost | mattermost_server | ≥ 6.3.0 < 6.3.5 |
| mattermost | mattermost_server | ≥ 6.4.0 < 6.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory