Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost-server/v6
  4. ›
  5. CVE-2022-3257

CVE-2022-3257: Unrestricted Upload of File with Dangerous Type

September 25, 2022 (updated March 27, 2023)

Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded while drafting a post, which allows authenticated users to cause resource exhaustion while processing the file, resulting in server-side Denial of Service.

References

  • github.com/advisories/GHSA-m7w4-q5vg-5xfp
  • hackerone.com/reports/1620170
  • mattermost.com/security-updates/
  • nvd.nist.gov/vuln/detail/CVE-2022-3257

Code Behaviors & Features

Detect and mitigate CVE-2022-3257 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 7.1.0 before 7.2.0

Fixed versions

  • 7.2.0

Solution

Upgrade to version 7.2.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

go/github.com/mattermost/mattermost-server/v6/CVE-2022-3257.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:58 +0000.