GitHub Advisory Database
GHSA-r67m-mf7v-qp7j
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost-server/v6 | From 5.4.0-rc1 before 7.8.12 (fixed in 7.8.12) |
| Go | github.com/mattermost/mattermost/server/v8 | From 8.0.0 before 8.0.4 (fixed in 8.0.4) |
| Go | github.com/mattermost/mattermost/server/v8 | From 8.1.0 before 8.1.3 (fixed in 8.1.3) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.0.0 before 9.0.1 (fixed in 9.0.1) |
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.0.0-20230825233148-f787fd63368a (fixed in 8.0.0-20230825233148-f787fd63368a) |
| Go | github.com/mattermost/mattermost-server/v6 | All versions before 5.3.2-0.20230825233148-f787fd63368a (fixed in 5.3.2-0.20230825233148-f787fd63368a) |
| Go | github.com/mattermost/mattermost-server/v5 | All versions before 5.3.2-0.20230825233148-f787fd63368a (fixed in 5.3.2-0.20230825233148-f787fd63368a) |
| Go | github.com/mattermost/mattermost-server | All versions before 5.3.2-0.20230825233148-f787fd63368a (fixed in 5.3.2-0.20230825233148-f787fd63368a) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-5968
- https://github.com/mattermost/mattermost/pull/24362
- https://github.com/mattermost/mattermost/pull/24566
- https://github.com/mattermost/mattermost/commit/698f4a97da564e2c1f2bf1fbd01755cefa3b7881
- https://github.com/mattermost/mattermost
- https://mattermost.com/security-updates