CVE-2023-36461: Mastodon vulnerable to Denial of Service through slow HTTP responses
Mastodon is a free, open-source social network server based on ActivityPub. When performing outgoing HTTP queries, Mastodon sets a timeout on individual read operations. Prior to versions 3.5.9, 4.0.5, and 4.1.3, a malicious server can indefinitely extend the duration of the response through slowloris-type attacks. This vulnerability can be used to keep all Mastodon workers busy for an extended duration of time, leading to the server becoming unresponsive. Versions 3.5.9, 4.0.5, and 4.1.3 contain a patch for this issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.5.9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.0.5 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.1.3
Event History
Frequently Asked Questions
What is CVE-2023-36461?
CVE-2023-36461 is a vulnerability in Mastodon, an open-source social network server, that allows a malicious server to indefinitely extend the duration of a response through slowloris attacks.
How does the vulnerability in Mastodon work?
The vulnerability in Mastodon occurs when performing outgoing HTTP queries, allowing a malicious server to indefinitely extend the duration of the response by using slowloris attacks.
What is the severity of CVE-2023-36461?
CVE-2023-36461 has a severity rating of 7.5, which is considered high.
Which versions of Mastodon are affected by CVE-2023-36461?
Mastodon versions up to and excluding 3.5.9, versions between 4.0.0 and 4.0.5 (exclusive), and versions between 4.1.0 and 4.1.3 (exclusive) are affected by CVE-2023-36461.
How can I fix the CVE-2023-36461 vulnerability in Mastodon?
To fix the CVE-2023-36461 vulnerability in Mastodon, you should upgrade to versions 3.5.9, 4.0.5, or 4.1.3 or later.