{"id":"CVE-2021-21392","published":"2021-04-12T21:50:14Z","modified":"2024-08-03T18:09:15Z","title":"Open redirect via transitional IPv6 addresses on dual-stack networks","vendor":"matrix-org","product":"synapse","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00944,"percentile":0.59546,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://pypi.org/project/matrix-synapse/","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/synapse/security/advisories/GHSA-5wrh-4jwv-5w78","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matrix-org/synapse/pull/9240","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNNAJOZNMVMXM6AS7RFFKB4QLUJ4IFEY/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":11.91},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"synapse","versions":["< 1.28.0"]}],"affected":[{"ecosystem":"PyPI","package":"matrix-synapse","vulnerableRanges":["<1.28.0rc1","<1.28.0"],"patched":["1.28.0rc1","1.28.0"],"from":["GHSA-5wrh-4jwv-5w78","PYSEC-2021-25"],"provenance":"source"}],"summary":{"text":"Synapse, the Python reference homeserver for the Matrix federated messaging ecosystem (matrix-synapse package), versions before 1.28.0 fail to restrict requests to user-supplied domains to external IP addresses when transitional IPv6 addresses are used, affecting federation, identity server, third-party invite, push notification, and URL preview requests. An attacker with low privileges who can get a user to interact with the server can cause it to send requests to internal infrastructure, but only on dual-stack networks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:09:54Z"},"euvd":{"id":"EUVD-2021-0128","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-21274","published":"2021-02-26","fixed":"1.25.0","kev":false},{"cve":"CVE-2021-21332","published":"2021-03-26","fixed":"1.27.0","kev":false,"link":{"from":"CVE-2021-21332","to":"CVE-2021-21392","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.27.0","toFixed":"1.28.0rc1","daysApart":17}]}},{"cve":"CVE-2021-21333","published":"2021-03-26","fixed":"1.27.0","kev":false},{"cve":"CVE-2021-21392","published":"2021-04-12","fixed":"1.28.0","kev":false},{"cve":"CVE-2021-21393","published":"2021-04-12","fixed":"1.28.0","kev":false,"link":{"from":"CVE-2021-21392","to":"CVE-2021-21393","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.28.0rc1","toFixed":"1.28.0","daysApart":0}]}},{"cve":"CVE-2021-21394","published":"2021-04-12","fixed":"1.28.0","kev":false,"link":{"from":"CVE-2021-21392","to":"CVE-2021-21394","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.28.0rc1","toFixed":"1.28.0","daysApart":0}]}},{"cve":"CVE-2021-29471","published":"2021-05-11","fixed":"1.33.2","kev":false,"link":{"from":"CVE-2021-21392","to":"CVE-2021-29471","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.28.0","toFixed":"1.33.2","daysApart":29}]}}],"package":"PyPI:matrix-synapse"}}