CVE-2021-21392
published 2021-04-12CVE-2021-21392: Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse). Matrix is an ecosystem for open federated Instant Messaging and VoIP…
PriorityP432medium6.3CVSS 3.1
AVNACLPRLUIRSUCLIHAN
EPSS
0.89%
55.6th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | matrix-synapse | < matrix-synapse 1.28.0-1 (forky) | matrix-synapse 1.28.0-1 (forky) |
| fedoraproject | fedora | — | — |
| matrix-org | synapse | < 1.28.0 | 1.28.0 |
| matrix | synapse | < 1.28.0 | 1.28.0 |
CVSS provenance
nvdv3.16.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
nvdv2.04.9MEDIUMAV:N/AC:M/Au:S/C:P/I:P/A:N
osv6.3MEDIUM
vendor_debian6.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Open redirect via transitional IPv6 addresses on dual-stack networks
ghsa·2021-04-13
CVE-2021-21392 [HIGH] CWE-601 Open redirect via transitional IPv6 addresses on dual-stack networks
Open redirect via transitional IPv6 addresses on dual-stack networks
### Impact
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.
### Patches
This issue is fixed by #9240.
### Workarounds
Outbound requests to the following address ranges can be blocked by a firewall, if unused for internal communication between systems:
* `::ffff/80`
* `::0000/80` (note that this IP range is considered deprecated by the IETF)
* `2002::/16` (note that this I
OSV
Open redirect via transitional IPv6 addresses on dual-stack networks
osv·2021-04-13
CVE-2021-21392 [HIGH] Open redirect via transitional IPv6 addresses on dual-stack networks
Open redirect via transitional IPv6 addresses on dual-stack networks
### Impact
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.
### Patches
This issue is fixed by #9240.
### Workarounds
Outbound requests to the following address ranges can be blocked by a firewall, if unused for internal communication between systems:
* `::ffff/80`
* `::0000/80` (note that this IP range is considered deprecated by the IETF)
* `2002::/16` (note that this I
OSV
CVE-2021-21392: Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse)
osv·2021-04-12·CVSS 6.3
CVE-2021-21392 [MEDIUM] CVE-2021-21392: Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse)
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.
Debian
CVE-2021-21392: matrix-synapse - Synapse is a Matrix reference homeserver written in python (pypi package matrix-...
vendor_debian·2021·CVSS 6.3
CVE-2021-21392 [MEDIUM] CVE-2021-21392: matrix-synapse - Synapse is a Matrix reference homeserver written in python (pypi package matrix-...
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.
Scope: local
forky: resolved (fixed in 1.28.0-1)
sid: resolved (fixed in 1.28.0-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/matrix-org/synapse/pull/9240https://github.com/matrix-org/synapse/security/advisories/GHSA-5wrh-4jwv-5w78https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNNAJOZNMVMXM6AS7RFFKB4QLUJ4IFEY/https://pypi.org/project/matrix-synapse/https://github.com/matrix-org/synapse/pull/9240https://github.com/matrix-org/synapse/security/advisories/GHSA-5wrh-4jwv-5w78https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNNAJOZNMVMXM6AS7RFFKB4QLUJ4IFEY/https://pypi.org/project/matrix-synapse/
2021-04-12
Published