Information Exposure Through an Error Message Affecting github.com/mattermost/mattermost/server/v8/channels/api4 package, versions >=8.1.0 <8.1.13 >=9.5.0 <9.5.4 >=9.7.0 <9.7.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERV8CHANNELSAPI4-7116807
  • published 27 May 2024
  • disclosed 26 May 2024
  • credit vultza

How to fix?

Upgrade github.com/mattermost/mattermost/server/v8/channels/api4 to version 8.1.13, 9.5.4, 9.7.2 or higher.

Overview

github.com/mattermost/mattermost/server/v8/channels/api4 is a platform for secure collaboration across the entire software development lifecycle

Affected versions of this package are vulnerable to Information Exposure Through an Error Message through the /api/v4/groups/<group-id>/channels/<channel-id>/link endpoint. An attacker can learn the members of an AD/LDAP group linked to a team by adding the group to a channel, even if they have no access to the team.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
4.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    None