CVEfocus › CVE database › CVE-2021-21392

CVE-2021-21392Open redirect via transitional IPv6 addresses on dual-stack networks

CVSS 6.3 MediumEPSS 0.9% (higher than 60% of CVEs)Published 2021-04-12Updated 2024-08-03Assigner: GitHub_M

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.

CWE-601

What to do

Fixed builds are available from PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04matrix-synapseNot affected
vulnerable_code_not_present
Ubuntu 22.04matrix-synapseFix pendingUBUNTU-CVE-2021-21392
Ubuntu 20.04matrix-synapseFix pendingUBUNTU-CVE-2021-21392
Ubuntu 18.04matrix-synapseFix pendingUBUNTU-CVE-2021-21392
PyPI librarymatrix-synapseFixed1.28.0rc1PYSEC-2021-25

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.