CVE-2021-21392

MEDIUM

Synapse < 1.28.0 - Server-Side Request Forgery via Transitional IPv6 Address Handling

Title source: llm
STIX 2.1

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.

References (4)

Core 4
Core References
Product, Third Party Advisory x_refsource_misc
https://pypi.org/project/matrix-synapse/
Patch, Third Party Advisory x_refsource_misc
https://github.com/matrix-org/synapse/pull/9240

Scores

CVSS v3 6.3
EPSS 0.0089
EPSS Percentile 54.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N

Details

CWE
CWE-601
Status published
Products (3)
fedoraproject/fedora 34
matrix/synapse < 1.28.0
pypi/matrix-synapse 0 - 1.28.0rc1PyPI
Published Apr 12, 2021
Tracked Since Feb 18, 2026