title: A crafted SVG attachment can crash a Mattermost server
description: Uncontrolled resource consumption in Mattermost version 6.6.0 and earlier allows an authenticated attacker to crash the server via a crafted SVG attachment on a post.
problem types: CWE-400 Uncontrolled Resource Consumption
affected:
{
product: Mattermost
vendor: Mattermost
versions:
status: affected, version: 6.5.x 6.5.0
status: affected, version: 6.6.x 6.6.0
lessThanOrEqual: 5.39, status: affected, version: 5.x, versionType: custom
lessThanOrEqual: 6.3.7, status: affected, version: 6.x, versionType: custom
lessThanOrEqual: 6.4.2, status: affected, version: 6.4.x, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 4.3
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
version: 3.1
]
workarounds: Configure the maximum file size for message attachments to 20 megabytes or less: https://docs.mattermost.com/configure/configuration-settings.html#maximum-file-size