Improper access control in Synapse - CVE-2021-21392
Published: April 12, 2021 / Updated: May 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to make the server send requests to internal infrastructure.
The vulnerability exists due to improper access control in outbound request handling when processing user-provided domains with transitional IPv6 addresses on dual-stack networks. A remote attacker can provide a crafted domain that resolves to a transitional IPv6 address to make the server send requests to internal infrastructure.
Outbound requests to federation, identity servers, third-party invite key validity checks, push notifications, and URL preview generation are affected.
Affected software
Fedora
matrix-synapse
How to mitigate CVE-2021-21392
matrix-synapse - addressed in versions 1.38.0-2.fc34, 1.38.1-1.fc34