Live threats

All CVEs / Matrix

CVE-2021-21274Matrix Synapse

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Feb 26, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-770
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Synapse.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI matrix-synapse ≥ 0.99.0 < 1.25.0 1.25.0 pip install "matrix-synapse>=1.25.0"
PyPI matrix-synapse ≥ 0.99.0 < 1.25.0 1.25.0 pip install "matrix-synapse>=1.25.0"

Per OSV / GitHub Advisories (GHSA-2hwx-mjrm-v3g8, PYSEC-2021-132). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixsynapse≥ 0.99.0 < 1.25.0
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.