ADVISORIES

GitHub Advisory Database

GHSA-r67m-mf7v-qp7j

Mattermost password hash disclosure vulnerability

Moderate CVE-2023-5968

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

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server/v6
From 5.4.0-rc1 before 7.8.12 (fixed in 7.8.12)
Gogithub.com/mattermost/mattermost/server/v8
From 8.0.0 before 8.0.4 (fixed in 8.0.4)
Gogithub.com/mattermost/mattermost/server/v8
From 8.1.0 before 8.1.3 (fixed in 8.1.3)
Gogithub.com/mattermost/mattermost/server/v8
From 9.0.0 before 9.0.1 (fixed in 9.0.1)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20230825233148-f787fd63368a (fixed in 8.0.0-20230825233148-f787fd63368a)
Gogithub.com/mattermost/mattermost-server/v6
All versions before 5.3.2-0.20230825233148-f787fd63368a (fixed in 5.3.2-0.20230825233148-f787fd63368a)
Gogithub.com/mattermost/mattermost-server/v5
All versions before 5.3.2-0.20230825233148-f787fd63368a (fixed in 5.3.2-0.20230825233148-f787fd63368a)
Gogithub.com/mattermost/mattermost-server
All versions before 5.3.2-0.20230825233148-f787fd63368a (fixed in 5.3.2-0.20230825233148-f787fd63368a)

References