title:  Denial of Service via Link Preview in /api/v4/redirect_location
description: Mattermost fails to properly sanitize the request to /api/v4/redirect_location allowing an attacker, sending a specially crafted request to /api/v4/redirect_location, to fill up the memory due to caching large items.
problem types: CWE-400 Uncontrolled Resource Consumption
affected:
{
defaultStatus: unaffected
product: Mattermost
vendor: Mattermost
versions:
lessThanOrEqual: 7.8.11, status: affected, version: 0, versionType: semver
lessThanOrEqual: 8.0.3, status: affected, version: 0, versionType: semver
lessThanOrEqual: 8.1.2, status: affected, version: 0, versionType: semver
lessThanOrEqual: 9.0.0, status: affected, version: 0, versionType: semver
status: unaffected, version: 7.8.12
status: unaffected, version: 8.0.4
status: unaffected, version: 8.1.3
status: unaffected, version: 9.0.1
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 5.3
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions: Update Mattermost Server to versions 7.8.12, 8.0.4, 8.1.3, 9.0.1 or higher.