CVE Vulnerabilities

CVE-2022-1385

Improper Control of a Resource Through its Lifetime

Published: Apr 19, 2022 | Modified: Nov 21, 2024
CVSS 3.x
4.6
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
CVSS 2.x
5.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu

Mattermost 6.4.x and earlier fails to properly invalidate pending email invitations when the action is performed from the system console, which allows accidentally invited users to join the workspace and access information from the public teams and channels.

Weakness

The product does not maintain or incorrectly maintains control over a resource throughout its lifetime of creation, use, and release.

Affected Software

Name Vendor Start Version End Version
Mattermost_server Mattermost * 6.5.0 (excluding)

Extended Description

Resources often have explicit instructions on how to be created, used and destroyed. When code does not follow these instructions, it can lead to unexpected behaviors and potentially exploitable states. Even without explicit instructions, various principles are expected to be adhered to, such as “Do not use an object until after its creation is complete,” or “do not use an object after it has been slated for destruction.”

Potential Mitigations

References