Mattermost versions 9.8.0, 9.7.x <= 9.7.4, 9.6.x <= 9.6.2 and 9.5.x <= 9.5.5 fail to prevent users from specifying a RemoteId for their posts which allows an attacker to specify both a remoteId and the post ID, resulting in creating a post with a user-defined post ID. This can cause some broken functionality in the channel or thread with user-defined posts
{
"cna_assigner": "Mattermost",
"cwe_ids": [
"CWE-284"
],
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "9.8.0"
},
{
"last_affected": "9.8.0"
},
{
"introduced": "9.7.0"
},
{
"last_affected": "9.7.4"
},
{
"introduced": "9.6.0"
},
{
"last_affected": "9.6.2"
},
{
"introduced": "9.5.0"
},
{
"last_affected": "9.5.5"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39361.json"
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "9.5.0"
},
{
"fixed": "9.5.6"
},
{
"introduced": "9.6.0"
},
{
"fixed": "9.6.3"
},
{
"introduced": "9.7.0"
},
{
"fixed": "9.7.4"
},
{
"introduced": "9.8.0"
},
{
"fixed": "9.8.1"
}
]
}