title: OOM DoS in Mattermost image proxy
description: 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.
problem types: CWE-400 Uncontrolled Resource Consumption
affected:
{
product: Mattermost
vendor: Mattermost
versions:
lessThan: 6.4.2, status: affected, version: 6.4, versionType: custom
lessThan: 6.3.5, status: affected, version: 6.3, versionType: custom
lessThan: 6.2.5, status: affected, version: 6.2, versionType: custom
lessThan: 5.37.9, status: affected, version: 5.37, 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
]
solutions: Upgrade to Mattermost version 6.4.2, 6.3.5, 6.2.5, or 5.37.9.
workarounds: Disable the image proxy or use an external proxy.