Advisory

GHSA-r67m-mf7v-qp7j

Also known as: CVE-2023-5968

Summary

Mattermost password hash disclosure vulnerability

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-11-06 18:30 UTC
Modified
2025-07-22 17:17 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server/v6

Go · All systems

Affected

  • introduced 5.4.0-rc1, fixed 7.8.12 (semver)

Fixed versions

7.8.12

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 8.0.0, fixed 8.0.4 (semver)

Fixed versions

8.0.4

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 8.1.0, fixed 8.1.3 (semver)

Fixed versions

8.1.3

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.0.0, fixed 9.0.1 (semver)

Fixed versions

9.0.1

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20230825233148-f787fd63368a (semver)

Fixed versions

8.0.0-20230825233148-f787fd63368a

Fix

  • Fixed version 8.0.0-20230825233148-f787fd63368a
    go get github.com/mattermost/mattermost/server/[email protected]

github.com/mattermost/mattermost-server/v6

Go · All systems

Affected

  • introduced 0, fixed 5.3.2-0.20230825233148-f787fd63368a (semver)

Fixed versions

5.3.2-0.20230825233148-f787fd63368a

Fix

  • Fixed version 5.3.2-0.20230825233148-f787fd63368a
    go get github.com/mattermost/mattermost-server/[email protected]

github.com/mattermost/mattermost-server/v5

Go · All systems

Affected

  • introduced 0, fixed 5.3.2-0.20230825233148-f787fd63368a (semver)

Fixed versions

5.3.2-0.20230825233148-f787fd63368a

Fix

  • Fixed version 5.3.2-0.20230825233148-f787fd63368a
    go get github.com/mattermost/mattermost-server/[email protected]

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 0, fixed 5.3.2-0.20230825233148-f787fd63368a (semver)

Fixed versions

5.3.2-0.20230825233148-f787fd63368a

Fix

  • Fixed version 5.3.2-0.20230825233148-f787fd63368a
    go get github.com/mattermost/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences