6.5

CVE-2021-21274: Denial of service attack via .well-known lookups

Modified
AliasesGHSA-2hwx-mjrm-v3g8PYSEC-2021-132UBUNTU-CVE-2021-21274
Published 26-02-2021Last modified 03-08-2024

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.

Priority
Routine

Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
2.19%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 26-02-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Matrix1 product
Matrix-org1 product
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
Show all 12 references