CVE-2021-21274: medium-severity vulnerability in matrix-org synapse
Denial of service attack via .well-known lookups
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
A malicious Matrix server can trick other servers into downloading a huge file when looking up its configuration, consuming excessive resources and causing service disruption. This affects any server that accepts connections from untrusted servers.
Synapse versions before 1.25.0 fail to enforce size limits on .well-known endpoint responses during federation discovery. An attacker controlling a federated homeserver can redirect the .well-known lookup to a large file, causing resource exhaustion on the requesting server. Mitigation includes upgrading to 1.25.0 or restricting federation via domain whitelist.
In the same product, most dangerous first.