CVE-2021-21274: Denial of service attack via .well-known lookups
Vulnerability summary
CVE-2021-21274 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in fedoraproject fedora. EPSS estimates a 2.19% chance of exploitation in the next 30 days, higher than 83% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 26-02-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse). Matrix is an ecosystem for open federated Instant Messaging and VoIP. In Synapse before version 1.25.0, a malicious homeserver could redirect requests to their .well-known file to a large file. This can lead to a denial of service attack where homeservers will consume significantly more resources when requesting the .well-known file of a malicious homeserver. This affects any server which accepts federation requests from untrusted servers. Issue is resolved in version 1.25.0. As a workaround the `federation_domain_whitelist` setting can be used to restrict the homeservers communicated with over federation.
CVSS metrics
7 scores · 5 sources · 3 versions- CVE.orgCNA4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LDiffers
- OSV · PypiEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.19%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 2.16% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- matrix-synapse< 1.25.0-1
Fedoraproject1 product
- fedoraEOL34
Matrix1 product
- synapse≥ 0.99.0, < 1.25.0
Matrix-org1 product
- synapse≥ 0.99.0, < 1.25.0
PyPI1 product
- matrix-synapse< ff5c4da1289cb5e097902b3e55b771be342c29d6 | ≥ 0.99.0, < 1.25.0
Ubuntu1 product
- matrix-synapseAll versions (No fix recorded)
6 vendors · 6 products
References
12 links- github.com/matrix-org/synapse/security/advisories/GHSA-2hwx-mjrm-v3g8X Refsource CONFIRMWEBAdvisoryREPORTPatchThird Party Advisory
- github.com/matrix-org/synapse/commit/ff5c4da1289cb5e097902b3e55b771be342c29d6X Refsource MISCWEBFIXREPORTPatchThird Party Advisory