CWE
770 400
Advisory Published
Updated

CVE-2021-21274

First published: Fri Feb 26 2021(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Matrix Synapse>=0.99.0<1.25.0
Fedoraproject Fedora=34

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-21274?

    CVE-2021-21274 is a vulnerability in Synapse, a Matrix reference homeserver, that allows a malicious server to redirect requests to a large file.

  • What is Synapse?

    Synapse is a Matrix reference homeserver written in Python that provides an ecosystem for open federated Instant Messaging and VoIP.

  • What is the severity of CVE-2021-21274?

    CVE-2021-21274 has a severity of 6.5 (Medium).

  • How can CVE-2021-21274 be fixed?

    CVE-2021-21274 can be fixed by upgrading to Synapse version 1.25.0 or later.

  • Are there any references for CVE-2021-21274?

    Yes, you can find references for CVE-2021-21274 at the following links: [GitHub Commit](https://github.com/matrix-org/synapse/commit/ff5c4da1289cb5e097902b3e55b771be342c29d6), [GitHub Pull Request](https://github.com/matrix-org/synapse/pull/8950), [GitHub Release](https://github.com/matrix-org/synapse/releases/tag/v1.25.0).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203