CVE-2021-21392
Open redirect via transitional IPv6 addresses on dual-stack networks
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.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.
How to fix CVE-2021-21392
To remediate CVE-2021-21392, upgrade the affected package to a fixed version below.
- —upgrade to 1.28.0-1 or later
- —upgrade to 1.28.0rc1 or later
- —upgrade to 1.28.0 or later
Is CVE-2021-21392 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.28.0-1
- from 0, < 1.28.0rc1
- from 0, < 1.28.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N |