CVE-2021-21392Matrix Synapse
Medium 6.3
Follow: this CVE · Matrix · Matrix Synapse We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Synapse.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| matrix | synapse | < 1.28.0 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.fedoraproject.org
- pypi.org Product Third Party Advisory