Skip to content

CVE-2021-21274 Denial of service attack via .well-known lookups

MediumCVSS 6.5 EPSS 2.2%
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, a malicious homeserver could redirect requests to their .well-known file to a large file. This can lead to a denial of service attack where homeservers will consume significantly more resources when requesting the .well-known file of a malicious homeserver. This affects any server which accepts federation requests from untrusted servers. Issue is resolved in version 1.25.0. As a workaround the federation_domain_whitelist setting can be used to restrict the homeservers communicated with over federation.

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 >= 0.99.0, < 1.25.0 1.25.0 Fixed
pypi matrix-synapse(PyPI) = 0.99.0; = 0.99.1; = 0.99.1.1; = 0.99.1rc1 +121 more 1.25.0 Fixed
fedoraproject fedora = 34 No fix listed Versions listed
matrix-org synapse = >=0.99.0, < 1.25.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi matrix-synapse(PyPI) >= 0.99.0, < 1.25.0 1.25.0
pypi matrix-synapse(PyPI) = 0.99.0 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
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
Show 175 more
ProductAffected versionsFixed in
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
debian/matrix-synapse(Debian:14) = 0.99.2-5~bpo9+1 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.2-6 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.3.2-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.5.1-1 No fix listed
debian/matrix-synapse(Debian:14) = 0.99.5.2-1 No fix listed
debian/matrix-synapse(Debian:14) = 1.0.0-1 No fix listed
debian/matrix-synapse(Debian:14) = 1.0.0-2 No fix listed
debian/matrix-synapse(Debian:14) = 1.0.0-2~bpo10+1 No fix listed
debian/matrix-synapse(Debian:14) = 1.1.0-1 No fix listed
debian/matrix-synapse(Debian:14) = 1.10.0-1 No fix listed
debian/matrix-synapse(Debian:14) = 1.10.0-2 No fix listed
debian/matrix-synapse(Debian:14) = 1.11.0-1 No fix listed
debian/matrix-synapse(Debian:14) = 1.11.1-1 No fix listed
debian/matrix-synapse(Debian:14) = 1.11.1-1~bpo10+1 No fix listed
debian/matrix-synapse(Debian:14) = 1.12.0-1 No fix listed
debian/matrix-synapse(Debian:14) = 1.12.0-1~bpo10+1 No fix listed
debian/matrix-synapse(Debian:14) = 1.12.3-1 No fix listed
debian/matrix-synapse(Debian:14) = 1.12.3-1~bpo10+1 No fix listed
debian/matrix-synapse(Debian:14) = 1.12.4-1 No fix listed

References