In breve
- CVE-2021-21392 è una vulnerabilità MEDIO (CVSS 6.3) che riguarda matrix-synapse, synapse (matrix).
- Probabilità di sfruttamento nei prossimi 30 giorni (EPSS): 0.94%, superiore al 61.1% delle vulnerabilità.
- Correzione: aggiornare a 1.28.0, 1.28.0rc1 o successiva.
| Package | Affected versions | Patched versions |
|---|
| matrix-synapse PyPI | < 1.28.0< 1.28.0rc1
| 1.28.01.28.0rc1
|
| synapse | < 1.28.0
| 1.28.0
|
Description
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 IP range is considered deprecated by the IETF)
References
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free