Bug 1934602 (CVE-2021-21274) - CVE-2021-21274 matrix-synapse: DoS via .well-known lookups
Summary: CVE-2021-21274 matrix-synapse: DoS via .well-known lookups
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-21274
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1934603
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-03 14:49 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-03-03 19:02 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-03-03 19:02:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-03-03 14:49:29 UTC
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.

Reference:
https://github.com/matrix-org/synapse/security/advisories/GHSA-2hwx-mjrm-v3g8

Upstream patch:
https://github.com/matrix-org/synapse/commit/ff5c4da1289cb5e097902b3e55b771be342c29d6

Comment 1 Guilherme de Almeida Suckevicz 2021-03-03 14:50:27 UTC
Created matrix-synapse tracking bugs for this issue:

Affects: fedora-all [bug 1934603]

Comment 2 Product Security DevOps Team 2021-03-03 19:02:01 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.