title: Lack of server certificate validation in websockets connection
description: Mattermost iOS app fails to properly validate the server certificate while initializing the TLS connection allowing a network attacker to intercept the WebSockets connection.
problem types: CWE-295 Improper Certificate Validation
affected:
{
defaultStatus: unaffected
platforms: iOS
product: Mattermost iOS app
vendor: Mattermost
versions:
lessThanOrEqual: 2.5.0, status: affected, version: 0, versionType: semver
status: unaffected, version: 2.5.1
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 8.1
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions: Update Mattermost iOS app to version 2.5.1 or higher.