Skip to content
Heist/ feed
Back to feed
Medium

Malicious imports can lead to Denial of Service

Type: advisorySources: OSV

The legacy Slack import feature in Mattermost version 6.7.0 and earlier fails to properly limit the sizes of imported files, which allows an authenticated attacker to crash the server by importing large files via the Slack import REST API.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-2406
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 00:43 UTC · Revision 1

Source evidence

Malicious imports can lead to Denial of Service

core-osv · Original source

Published 14 Jul 2022, 17:23 UTC

The legacy Slack import feature in Mattermost version 6.7.0 and earlier fails to properly limit the sizes of imported files, which allows an authenticated attacker to crash the server by importing large files via the Slack import REST API.

osv:CVE-2022-2406
Complete source record
{
  "id": "410db5715981caf532ee727796bfe8faf9f80dc66afc701c9446232b5657a65e",
  "url": "https://osv.dev/vulnerability/CVE-2022-2406",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious imports can lead to Denial of Service",
    "summary": "The legacy Slack import feature in Mattermost version 6.7.0 and earlier fails to properly limit the sizes of imported files, which allows an authenticated attacker to crash the server by importing large files via the Slack import REST API.",
    "evidence": "osv:CVE-2022-2406",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-2406",
      "aliases": [
        "CVE-2022-2406"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mattermost/mattermost",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a030ae538b9cd373b4e0aa808fc426b82ed24937"
                },
                {
                  "introduced": "86a797bc64e7448dbfaa670ed6b8fd7b437e97c3"
                },
                {
                  "last_affected": "c4ab2024ae2ceb9d122484d23eab926289d553c6"
                },
                {
                  "introduced": "e05e0f9379e1324618601e3ba6111d78710e6319"
                },
                {
                  "last_affected": "714d065986fa9f6163b417d9760bf707cc237c71"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6.3.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.4.0"
                      },
                      {
                        "last_affected": "6.5.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost:6.6.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.6.0"
                      },
                      {
                        "last_affected": "6.6.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost:6.6.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.6.1"
                      },
                      {
                        "last_affected": "6.6.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost:6.7.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.7.0"
                      },
                      {
                        "last_affected": "6.7.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.6.0",
            "6.6.1",
            "6.7.0",
            "v6.7.0",
            "cloud-2022-04-28-1",
            "v6.3.8",
            "v6.5.1",
            "v6.3.7",
            "v6.3.6",
            "v6.5.0",
            "v6.3.5",
            "cloud-2022-03-02-1",
            "v6.3.4",
            "v6.3.3",
            "v6.3.2",
            "v6.3.1",
            "v6.3.0",
            "cloud-2021-12-08-1",
            "cloud-2021-11-30-1",
            "cloud-2021-11-23-1",
            "cloud-2021-11-25-1",
            "cloud-2021-11-11-1",
            "cloud-2021-11-09-1",
            "cloud-2021-10-27-1",
            "cloud-2021-10-12-1",
            "cloud-2021-09-29-1",
            "cloud-2021-08-12-1",
            "cloud-2021-07-29-1",
            "cloud-2021-07-15-1",
            "cloud-2021-07-01-1",
            "cloud-2021-06-16-1",
            "cloud-2021-06-02-1",
            "cloud-2021-05-21-1",
            "cloud-2021-05-05-1",
            "cloud-2021-04-22-1",
            "cloud-2021-03-23-1",
            "cloud-2021-03-12-1",
            "cloud-2021-02-25-1",
            "cloud-2021-02-24",
            "cloud-2021-02-10",
            "cloud-2021-01-26",
            "cloud-2021-01-12",
            "cloud-2020-12-18",
            "cloud-2020-12-08",
            "cloud-2020-11-24",
            "v5.2.0-rc2",
            "v5.2.0-rc1",
            "v5.1.0-rc1",
            "v5.0.0-rc1",
            "v4.10.0-rc1",
            "v4.9.0-rc1",
            "v4.8.0-rc1",
            "v4.7.0-rc1",
            "v4.6.0-rc2",
            "v4.6.0-rc1",
            "v4.5.0-rc1",
            "v4.4.0-rc1",
            "v4.3.0-rc1",
            "v4.2.0-rc1",
            "v0.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2406.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.376444371Z",
      "provider": "osv",
      "references": [
        "https://mattermost.com/security-updates/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2406.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-2406"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "Mattermost",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "6.3.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "SplitRange"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.4.x"
                  },
                  {
                    "last_affected": "6.4.x"
                  },
                  {
                    "introduced": "6.7.x 6.7.0"
                  },
                  {
                    "last_affected": "6.7.x 6.7.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.5.x"
                  },
                  {
                    "last_affected": "6.5.1"
                  },
                  {
                    "introduced": "6.6.x"
                  },
                  {
                    "last_affected": "6.6.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2406.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-2406",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 516710,
  "published_at": "2022-07-14T17:23:55+00:00"
}