GitHub Advisoryadvisory · Go

GHSA-r67m-mf7v-qp7j Mattermost password hash disclosure vulnerability

MEDIUM Published 2023-11-06 Modified 2025-07-22 Official page ↗
Aliases
CVE-2023-5968
Ecosystem
Go
Packages
github.com/mattermost/mattermost-server/v6, github.com/mattermost/mattermost/server/v8, github.com/mattermost/mattermost-server/v5, github.com/mattermost/mattermost-server
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-116, CWE-200
Reviewed
2023-11-08

Affected packages

• Go github.com/mattermost/mattermost-server/v6: >= 5.4.0-rc1, < 7.8.12 → fixed in 7.8.12 • Go github.com/mattermost/mattermost/server/v8: >= 8.0.0, < 8.0.4 → fixed in 8.0.4 • Go github.com/mattermost/mattermost/server/v8: >= 8.1.0, < 8.1.3 → fixed in 8.1.3 • Go github.com/mattermost/mattermost/server/v8: >= 9.0.0, < 9.0.1 → fixed in 9.0.1 • Go github.com/mattermost/mattermost/server/v8: < 8.0.0-20230825233148-f787fd63368a → fixed in 8.0.0-20230825233148-f787fd63368a • Go github.com/mattermost/mattermost-server/v6: < 5.3.2-0.20230825233148-f787fd63368a → fixed in 5.3.2-0.20230825233148-f787fd63368a • Go github.com/mattermost/mattermost-server/v5: < 5.3.2-0.20230825233148-f787fd63368a → fixed in 5.3.2-0.20230825233148-f787fd63368a • Go github.com/mattermost/mattermost-server: < 5.3.2-0.20230825233148-f787fd63368a → fixed in 5.3.2-0.20230825233148-f787fd63368a

Description

Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body.

Related

Alias · CVE (1)

  • CVE-2023-5968 Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the… vulnerability

Weakness · CWE (2)

  • CWE-116 Improper Encoding or Escaping of Output weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References