The undo_mark_statuses_as_sensitive method in app/services/approve_appeal_service.rb in Mastodon 3.5.x before 3.5.3 does not use the server's representative account, resulting in moderator identity disclosure when a moderator approves the appeal of a user whose status update was marked as sensitive.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48364.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "3.5.x"
},
{
"fixed": "3.5.3"
}
],
"source": "DESCRIPTION"
},
{
"cpe": "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.5.0"
},
{
"fixed": "3.5.3"
}
],
"source": "CPE_RANGE"
}
]
}