CVE-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. 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.
EPSS 0.45% · 63.8th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:20.04:LTS | matrix-synapse | 1.3.0-1, 1.4.0-1, 1.5.0-1 |
| Ubuntu:Pro:18.04:LTS | matrix-synapse | 0, 0.19.2+dfsg-6, 0.24.0+dfsg-1 |
Exploit Intelligence
- https://github.com/matrix-org/synapse/security/advisories/GHSA-2hwx-mjrm-v3g8 (circl)
- https://github.com/matrix-org/synapse/releases/tag/v1.25.0 (circl)
- https://github.com/matrix-org/synapse/pull/8950 (circl)
- https://github.com/matrix-org/synapse/commit/ff5c4da1289cb5e097902b3e55b771be342c29d6 (circl)
- FEDORA-2021-a627cfd31e (circl)
Timeline
- Feb 26, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-21274 third-party-advisory
- https://github.com/matrix-org/synapse/security/advisories/GHSA-2hwx-mjrm-v3g8 third-party-advisory
- https://github.com/matrix-org/synapse/commit/ff5c4da1289cb5e097902b3e55b771be342c29d6 third-party-advisory
- https://github.com/matrix-org/synapse/pull/8950 third-party-advisory
- https://github.com/matrix-org/synapse/releases/tag/v1.25.0 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-21274 third-party-advisory