Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body.
{
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"last_affected": "7.8.11"
},
{
"last_affected": "8.0.3"
},
{
"last_affected": "8.1.2"
},
{
"last_affected": "9.0.0"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5968.json",
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "Mattermost"
}{
"source": [
"CPE_RANGE",
"CPE_STRING"
],
"cpe": [
"cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
"cpe:2.3:a:mattermost:mattermost:9.0.0:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "7.8.11"
},
{
"introduced": "8.0.0"
},
{
"last_affected": "8.0.3"
},
{
"introduced": "8.1.0"
},
{
"last_affected": "8.1.2"
},
{
"introduced": "9.0.0"
},
{
"last_affected": "9.0.0"
}
]
}