Lucene search

K
osvGoogleOSV:GHSA-5WRH-4JWV-5W78
HistoryApr 13, 2021 - 3:13 p.m.

Open redirect via transitional IPv6 addresses on dual-stack networks

2021-04-1315:13:08
Google
osv.dev
12
open redirect
ipv6
dual-stack networks
security
synapse

EPSS

0.001

Percentile

36.7%

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

EPSS

0.001

Percentile

36.7%