Skip to content

CVE-2021-21273 Open redirects on some federation and push requests

MediumCVSS 6.1 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.25.0, requests to user provided domains were not restricted to external IP addresses when calculating the key validity for third-party invite events and sending push notifications. This could cause Synapse to make requests to internal infrastructure. The type of request was not controlled by the user, although limited modification of request bodies was possible. For the most thorough protection server administrators should remove the deprecated federation_ip_range_blacklist from their settings after upgrading to Synapse v1.25.0 which will result in Synapse using the improved default IP address restrictions. See the new ip_range_blacklist and ip_range_whitelist settings if more specific control is necessary.

Upgrade path

7 packages: 3 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/matrix-synapse(Ubuntu Pro 18.04) = 0.19.2+dfsg-6; = 0.24.0+dfsg-1; = 0.24.0+dfsg-1ubuntu0.1~esm1; = 0.24.0+dfsg-1ubuntu0.1~esm4 +1 more No fix listed No fix yet
ubuntu/matrix-synapse(Ubuntu Pro 20.04) = 1.3.0-1; = 1.4.0-1; = 1.5.0-1; = 1.5.1-1 +14 more No fix listed No fix yet
debian/matrix-synapse(Debian 14) < 1.25.0-1; = 0.19.2+dfsg-3; = 0.19.2+dfsg-4; = 0.19.2+dfsg-5 +135 more 1.25.0-1 Fixed
matrix synapse < 1.25.0 1.25.0 Fixed
pypi matrix-synapse(PyPI) < 1.25.0; = 0.33.5; = 0.33.5.1; = 0.33.6 +140 more 1.25.0 Fixed
fedoraproject fedora = 34 No fix listed Versions listed
matrix-org synapse = < 1.25.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi matrix-synapse(PyPI) < 1.25.0 1.25.0
pypi matrix-synapse(PyPI) = 0.33.5 No fix listed
pypi matrix-synapse(PyPI) = 0.33.5.1 No fix listed
pypi matrix-synapse(PyPI) = 0.33.6 No fix listed
pypi matrix-synapse(PyPI) = 0.33.6rc1 No fix listed
pypi matrix-synapse(PyPI) = 0.33.7 No fix listed
pypi matrix-synapse(PyPI) = 0.33.7rc1 No fix listed
pypi matrix-synapse(PyPI) = 0.33.7rc2 No fix listed
pypi matrix-synapse(PyPI) = 0.33.8 No fix listed
pypi matrix-synapse(PyPI) = 0.33.8rc2 No fix listed
pypi matrix-synapse(PyPI) = 0.33.9 No fix listed
pypi matrix-synapse(PyPI) = 0.34.0 No fix listed
pypi matrix-synapse(PyPI) = 0.34.0.1 No fix listed
pypi matrix-synapse(PyPI) = 0.34.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 0.34.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 0.34.1.1 No fix listed
pypi matrix-synapse(PyPI) = 0.99.0 No fix listed
pypi matrix-synapse(PyPI) = 0.99.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 0.99.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 0.99.0rc3 No fix listed
pypi matrix-synapse(PyPI) = 0.99.0rc4 No fix listed
pypi matrix-synapse(PyPI) = 0.99.1 No fix listed
pypi matrix-synapse(PyPI) = 0.99.1.1 No fix listed
pypi matrix-synapse(PyPI) = 0.99.1rc1 No fix listed
pypi matrix-synapse(PyPI) = 0.99.1rc2 No fix listed
Show 175 more
ProductAffected versionsFixed in
pypi matrix-synapse(PyPI) = 0.99.2 No fix listed
pypi matrix-synapse(PyPI) = 0.99.2rc1 No fix listed
pypi matrix-synapse(PyPI) = 0.99.3 No fix listed
pypi matrix-synapse(PyPI) = 0.99.3.1 No fix listed
pypi matrix-synapse(PyPI) = 0.99.3.2 No fix listed
pypi matrix-synapse(PyPI) = 0.99.3rc1 No fix listed
pypi matrix-synapse(PyPI) = 0.99.4 No fix listed
pypi matrix-synapse(PyPI) = 0.99.4rc1 No fix listed
pypi matrix-synapse(PyPI) = 0.99.5 No fix listed
pypi matrix-synapse(PyPI) = 0.99.5.1 No fix listed
pypi matrix-synapse(PyPI) = 0.99.5.2 No fix listed
pypi matrix-synapse(PyPI) = 0.99.5rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.0.0 No fix listed
pypi matrix-synapse(PyPI) = 1.0.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.0.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.0.0rc3 No fix listed
pypi matrix-synapse(PyPI) = 1.1.0 No fix listed
pypi matrix-synapse(PyPI) = 1.1.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.1.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.10.0 No fix listed
pypi matrix-synapse(PyPI) = 1.10.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.10.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.10.0rc3 No fix listed
pypi matrix-synapse(PyPI) = 1.10.0rc5 No fix listed
pypi matrix-synapse(PyPI) = 1.10.1 No fix listed
pypi matrix-synapse(PyPI) = 1.11.0 No fix listed
pypi matrix-synapse(PyPI) = 1.11.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.11.1 No fix listed
pypi matrix-synapse(PyPI) = 1.12.0 No fix listed
pypi matrix-synapse(PyPI) = 1.12.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.12.1 No fix listed
pypi matrix-synapse(PyPI) = 1.12.1rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.12.2 No fix listed
pypi matrix-synapse(PyPI) = 1.12.3 No fix listed
pypi matrix-synapse(PyPI) = 1.12.4 No fix listed
pypi matrix-synapse(PyPI) = 1.12.4rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.13.0 No fix listed
pypi matrix-synapse(PyPI) = 1.13.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.13.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.13.0rc3 No fix listed
pypi matrix-synapse(PyPI) = 1.14.0 No fix listed
pypi matrix-synapse(PyPI) = 1.14.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.14.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.15.0 No fix listed
pypi matrix-synapse(PyPI) = 1.15.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.15.1 No fix listed
pypi matrix-synapse(PyPI) = 1.15.2 No fix listed
pypi matrix-synapse(PyPI) = 1.16.0 No fix listed
pypi matrix-synapse(PyPI) = 1.16.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.16.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.16.1 No fix listed
pypi matrix-synapse(PyPI) = 1.17.0 No fix listed
pypi matrix-synapse(PyPI) = 1.17.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.18.0 No fix listed
pypi matrix-synapse(PyPI) = 1.18.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.18.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.19.0 No fix listed
pypi matrix-synapse(PyPI) = 1.19.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.19.1 No fix listed
pypi matrix-synapse(PyPI) = 1.19.1rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.19.2 No fix listed
pypi matrix-synapse(PyPI) = 1.19.3 No fix listed
pypi matrix-synapse(PyPI) = 1.2.0 No fix listed
pypi matrix-synapse(PyPI) = 1.2.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.2.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.2.1 No fix listed
pypi matrix-synapse(PyPI) = 1.20.0 No fix listed
pypi matrix-synapse(PyPI) = 1.20.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.20.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.20.0rc3 No fix listed
pypi matrix-synapse(PyPI) = 1.20.0rc4 No fix listed
pypi matrix-synapse(PyPI) = 1.20.0rc5 No fix listed
pypi matrix-synapse(PyPI) = 1.20.1 No fix listed
pypi matrix-synapse(PyPI) = 1.21.0 No fix listed
pypi matrix-synapse(PyPI) = 1.21.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.21.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.21.0rc3 No fix listed
pypi matrix-synapse(PyPI) = 1.21.1 No fix listed
pypi matrix-synapse(PyPI) = 1.21.2 No fix listed
pypi matrix-synapse(PyPI) = 1.22.0 No fix listed
pypi matrix-synapse(PyPI) = 1.22.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.22.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.22.1 No fix listed
pypi matrix-synapse(PyPI) = 1.23.0 No fix listed
pypi matrix-synapse(PyPI) = 1.23.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.23.1 No fix listed
pypi matrix-synapse(PyPI) = 1.24.0 No fix listed
pypi matrix-synapse(PyPI) = 1.24.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.24.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.25.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.3.0 No fix listed
pypi matrix-synapse(PyPI) = 1.3.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.3.1 No fix listed
pypi matrix-synapse(PyPI) = 1.4.0 No fix listed
pypi matrix-synapse(PyPI) = 1.4.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.4.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.4.1 No fix listed
pypi matrix-synapse(PyPI) = 1.4.1rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.5.0 No fix listed
pypi matrix-synapse(PyPI) = 1.5.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.5.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.5.1 No fix listed
pypi matrix-synapse(PyPI) = 1.6.0 No fix listed
pypi matrix-synapse(PyPI) = 1.6.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.6.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.6.1 No fix listed
pypi matrix-synapse(PyPI) = 1.7.0 No fix listed
pypi matrix-synapse(PyPI) = 1.7.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.7.0rc2 No fix listed
pypi matrix-synapse(PyPI) = 1.7.1 No fix listed
pypi matrix-synapse(PyPI) = 1.7.2 No fix listed
pypi matrix-synapse(PyPI) = 1.7.3 No fix listed
pypi matrix-synapse(PyPI) = 1.8.0 No fix listed
pypi matrix-synapse(PyPI) = 1.8.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.9.0 No fix listed
pypi matrix-synapse(PyPI) = 1.9.0.dev1 No fix listed
pypi matrix-synapse(PyPI) = 1.9.0.dev2 No fix listed
pypi matrix-synapse(PyPI) = 1.9.0rc1 No fix listed
pypi matrix-synapse(PyPI) = 1.9.1 No fix listed
debian/matrix-synapse(Debian:14) < 1.25.0-1 1.25.0-1
debian/matrix-synapse(Debian:14) = 0.19.2+dfsg-3 No fix listed
debian/matrix-synapse(Debian:14) = 0.19.2+dfsg-4 No fix listed
debian/matrix-synapse(Debian:14) = 0.19.2+dfsg-5 No fix listed
debian/matrix-synapse(Debian:14) = 0.19.2+dfsg-6 No fix listed
debian/matrix-synapse(Debian:14) = 0.24.0+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.27.2+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.28.0+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.28.0+dfsg-2 No fix listed
debian/matrix-synapse(Debian:14) = 0.28.1+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.29.1+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.30.0+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.31.0+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.31.0+dfsg-2 No fix listed
debian/matrix-synapse(Debian:14) = 0.31.1+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.31.1+dfsg-2 No fix listed
debian/matrix-synapse(Debian:14) = 0.31.2+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.32.2+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.0+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.1+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.2+dfsg-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.2+dfsg-2 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.2+dfsg-3 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.3-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.3-2 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.3.1-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.4-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.4-1~bpo9+1 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.8-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.9-2 No fix listed
debian/matrix-synapse(Debian:14) = 0.33.9-2~bpo9+1 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.0-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.0-2 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.0-3 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.0-3~bpo9+1 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.0-3~bpo9+2 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.0~rc2-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.1.1-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.1.1-2 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.1.1-2~bpo9+1 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.1.1-3 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.1.1-3~bpo9+1 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.1.1-3~bpo9+2 No fix listed
debian/matrix-synapse(Debian:14) = 0.34.1.1-4 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.0-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.0-1~bpo9+1 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.0-1~bpo9+2 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.0-1~bpo9+3 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.1.1-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.2-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.2-1~bpo9+1 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.2-1~bpo9+2 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.2-2 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.2-3 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.2-4 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.2-5 No fix listed

References