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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| matrix-org | synapse | < 1.28.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | matrix-synapse | No fix yet | — |
| Ubuntu Pro 20.04 LTS | matrix-synapse | No fix yet | — |
| Ubuntu Pro 18.04 LTS | matrix-synapse | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | matrix-synapse | < 1.28.0rc1 | 1.28.0rc1 | GHSA-5wrh-4jwv-5w78 |
| PyPI | matrix-synapse | < 1.28.0 | 1.28.0 | PYSEC-2021-25 |