Live threats

All CVEs / Matrix

CVE-2021-21392Matrix Synapse

Medium 6.3

Priority
38
CVSS 3.1
6.3
EPSS
0.9%
probability of exploitation in 30 days · percentile 62
Auth required
Yes
Published
Apr 12, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/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.28.0 requests to user provided domains were not restricted to external IP addresses when transitional IPv6 addresses were used. Outbound requests to federation, identity servers, when calculating the key validity for third-party invite events, sending push notifications, and generating URL previews are affected. This could cause Synapse to make requests to internal infrastructure on dual-stack networks. See referenced GitHub security advisory for details and workarounds.

Original NVD text.

What to do

  1. Apply the vendor's security update for Synapse.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI matrix-synapse < 1.28.0rc1 1.28.0rc1 pip install "matrix-synapse>=1.28.0rc1"
PyPI matrix-synapse < 1.28.0 1.28.0 pip install "matrix-synapse>=1.28.0"

Per OSV / GitHub Advisories (GHSA-5wrh-4jwv-5w78, PYSEC-2021-25). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixsynapse< 1.28.0
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.