CVE-2021-21274
published 2021-02-26CVE-2021-21274: Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse). Matrix is an ecosystem for open federated Instant Messaging and VoIP…
PriorityP430medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
2.16%
80.2th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | matrix-synapse | < matrix-synapse 1.25.0-1 (forky) | matrix-synapse 1.25.0-1 (forky) |
| fedoraproject | fedora | — | — |
| matrix-org | synapse | — | — |
| matrix | synapse | >= 0.99.0 < 1.25.0 | 1.25.0 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Denial of service attack via .well-known lookups
ghsa·2021-03-01
CVE-2021-21274 [MEDIUM] CWE-400 Denial of service attack via .well-known lookups
Denial of service attack via .well-known lookups
### Impact
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.
### Patches
Issue is resolved by #8950. A bug not affecting the security aspects of this was fixed in #9108.
### Workarounds
The `federation_domain_whitelist` setting can be used to restrict the homeservers communicated with over federation.
OSV
Denial of service attack via .well-known lookups
osv·2021-03-01
CVE-2021-21274 [MEDIUM] Denial of service attack via .well-known lookups
Denial of service attack via .well-known lookups
### Impact
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.
### Patches
Issue is resolved by #8950. A bug not affecting the security aspects of this was fixed in #9108.
### Workarounds
The `federation_domain_whitelist` setting can be used to restrict the homeservers communicated with over federation.
OSV
CVE-2021-21274: Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse)
osv·2021-02-26·CVSS 6.5
CVE-2021-21274 [MEDIUM] CVE-2021-21274: Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse)
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.
Debian
CVE-2021-21274: matrix-synapse - Synapse is a Matrix reference homeserver written in python (pypi package matrix-...
vendor_debian·2021·CVSS 4.3
CVE-2021-21274 [MEDIUM] CVE-2021-21274: matrix-synapse - Synapse is a Matrix reference homeserver written in python (pypi package matrix-...
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.
Scope: local
forky: resolved (fixed in 1.25.0-1)
sid: resolved (fixed in 1.25.0-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/matrix-org/synapse/commit/ff5c4da1289cb5e097902b3e55b771be342c29d6https://github.com/matrix-org/synapse/pull/8950https://github.com/matrix-org/synapse/releases/tag/v1.25.0https://github.com/matrix-org/synapse/security/advisories/GHSA-2hwx-mjrm-v3g8https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNNAJOZNMVMXM6AS7RFFKB4QLUJ4IFEY/https://github.com/matrix-org/synapse/commit/ff5c4da1289cb5e097902b3e55b771be342c29d6https://github.com/matrix-org/synapse/pull/8950https://github.com/matrix-org/synapse/releases/tag/v1.25.0https://github.com/matrix-org/synapse/security/advisories/GHSA-2hwx-mjrm-v3g8https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNNAJOZNMVMXM6AS7RFFKB4QLUJ4IFEY/
2021-02-26
Published