CVE-2022-2401 Team members could access sensitive information of other users via an API call

Medium 6.5 Published Updated

Team members can access sensitive information of other users via unrestricted API calls in Mattermost.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-2401?

CVE-2022-2401 is a medium-severity vulnerability in Mattermost Mattermost Server, published on 14 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Unrestricted information disclosure of all users in Mattermost version 6.7.0 and earlier allows team members to access some sensitive information by directly accessing the APIs.

Weakness: CWE-200

Which versions are affected by CVE-2022-2401?

12 open source packages ship an affected version, including github.com/mattermost/mattermost-server/v6, mattermost and github.com/mattermost/mattermost-server. It affects 1 product.

PackageAffectedFixed in
github.com/mattermost/mattermost-server/v6 GoAll versions6.3.9, 6.5.2, 6.6.2, 6.7.1
github.com/mattermost/mattermost-server/v6 GoAll versions6.3.9
github.com/mattermost/mattermost-server/v6 GoAll versions6.3.9
github.com/mattermost/mattermost-server/v6 GoFrom 6.4.06.5.2
github.com/mattermost/mattermost-server/v6 GoFrom 6.4.06.5.2
github.com/mattermost/mattermost-server/v6 GoFrom 6.6.06.6.2
6 more packages
github.com/mattermost/mattermost-server/v6 GoFrom 6.6.06.6.2
github.com/mattermost/mattermost-server/v6 GoFrom 6.7.06.7.1
github.com/mattermost/mattermost-server/v6 GoFrom 6.7.06.7.1
mattermost BitnamiAll versions to 6.6.06.3.9, 6.5.2
github.com/mattermost/mattermost-server GoAll versionsNone
github.com/mattermost/mattermost-server/v5 GoAll versionsNone

Products include Mattermost Mattermost Server.

How do I fix CVE-2022-2401?

Upgrade github.com/mattermost/mattermost-server/v6 to a fixed version for your release line: 6.3.9, 6.5.2, 6.6.2 or 6.7.1.

Is CVE-2022-2401 being exploited?

There is no known exploitation of CVE-2022-2401 in the wild and no public exploit code.

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as BIT-mattermost-2022-2401, GHSA-7ggc-5r84-xf54, GO-2022-0540.

Is CVE-2022-2401 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free