What’s Vulnerable › Vulnerabilities

CVE-2023-36461: Mastodon vulnerable to Denial of Service through slow HTTP responses

Description

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 products

How to fix

Upgrade to a fixed version: mastodon 3.5.9, 4.0.5, 4.1.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-36461 or the next vulnerability affects your stack