Live threats

All CVEs / Matrix

CVE-2021-21273Matrix Synapse

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Feb 26, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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, requests to user provided domains were not restricted to external IP addresses when calculating the key validity for third-party invite events and sending push notifications. This could cause Synapse to make requests to internal infrastructure. The type of request was not controlled by the user, although limited modification of request bodies was possible. For the most thorough protection server administrators should remove the deprecated `federation_ip_range_blacklist` from their settings after upgrading to Synapse v1.25.0 which will result in Synapse using the improved default IP address restrictions. See the new `ip_range_blacklist` and `ip_range_whitelist` settings if more specific control is necessary.

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 < 1.25.0 1.25.0 pip install "matrix-synapse>=1.25.0"
PyPI matrix-synapse < 1.25.0 1.25.0 pip install "matrix-synapse>=1.25.0"

Per OSV / GitHub Advisories (GHSA-v936-j8gp-9q3p, PYSEC-2021-131). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixsynapse< 1.25.0
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.