Bug 1934605 (CVE-2021-21273) - CVE-2021-21273 matrix-synapse: open redirects on some federation and push requests
Summary: CVE-2021-21273 matrix-synapse: open redirects on some federation and push req...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-21273
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: 1934606
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-03 14:53 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-03-03 19:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-03 19:02:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-03-03 14:53:41 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, requests to user provided domains were not restricted to external IP addresses when calculating the key validity for third-party invite events and sending push notifications. This could cause Synapse to make requests to internal infrastructure. The type of request was not controlled by the user, although limited modification of request bodies was possible. For the most thorough protection server administrators should remove the deprecated `federation_ip_range_blacklist` from their settings after upgrading to Synapse v1.25.0 which will result in Synapse using the improved default IP address restrictions. See the new `ip_range_blacklist` and `ip_range_whitelist` settings if more specific control is necessary.

Reference:
https://github.com/matrix-org/synapse/security/advisories/GHSA-v936-j8gp-9q3p

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

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

Affects: fedora-all [bug 1934606]

Comment 2 Product Security DevOps Team 2021-03-03 19:02:03 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.