Skip to content
OpenAdvisories
Medium · 6.3 CVE-2021-21392 EUVD-2021-0128GHSA-5wrh-4jwv-5w78PYSEC-2021-25

Open redirect via transitional IPv6 addresses on dual-stack networks

Published Apr 12, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
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

References