MEDIUM4.9
GHSA-r67m-mf7v-qp7j
Mattermost password hash disclosure vulnerability
Quick fix
GHSA-r67m-mf7v-qp7j — github.com/mattermost/mattermost-server/v6: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost-server/v6@v7.8.12Details
Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mattermost/mattermost-server/v6
Introduced in:
5.4.0-rc1Fixed in: 7.8.12Fix
go get github.com/mattermost/mattermost-server/v6@v7.8.12Go/github.com/mattermost/mattermost/server/v8
Introduced in:
8.0.0Fixed in: 8.0.4Fix
go get github.com/mattermost/mattermost/server/v8@v8.0.4Go/github.com/mattermost/mattermost/server/v8
Introduced in:
8.1.0Fixed in: 8.1.3Fix
go get github.com/mattermost/mattermost/server/v8@v8.1.3Go/github.com/mattermost/mattermost/server/v8
Introduced in:
9.0.0Fixed in: 9.0.1Fix
go get github.com/mattermost/mattermost/server/v8@v9.0.1Go/github.com/mattermost/mattermost/server/v8
Introduced in:
0Fixed in: 8.0.0-20230825233148-f787fd63368aFix
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20230825233148-f787fd63368aGo/github.com/mattermost/mattermost-server/v6
Introduced in:
0Fixed in: 5.3.2-0.20230825233148-f787fd63368aFix
go get github.com/mattermost/mattermost-server/v6@v5.3.2-0.20230825233148-f787fd63368aGo/github.com/mattermost/mattermost-server/v5
Introduced in:
0Fixed in: 5.3.2-0.20230825233148-f787fd63368aFix
go get github.com/mattermost/mattermost-server/v5@v5.3.2-0.20230825233148-f787fd63368aGo/github.com/mattermost/mattermost-server
Introduced in:
0Fixed in: 5.3.2-0.20230825233148-f787fd63368aFix
go get github.com/mattermost/mattermost-server@v5.3.2-0.20230825233148-f787fd63368aReferences
- https://nvd.nist.gov/vuln/detail/CVE-2023-5968[ADVISORY]
- https://github.com/mattermost/mattermost/pull/24362[WEB]
- https://github.com/mattermost/mattermost/pull/24566[WEB]
- https://github.com/mattermost/mattermost/commit/698f4a97da564e2c1f2bf1fbd01755cefa3b7881[WEB]
- https://github.com/mattermost/mattermost[PACKAGE]
- https://mattermost.com/security-updates[WEB]