Bug 1182897 (CVE-2021-21273) - VUL-0: CVE-2021-21273: matrix-synapse: user provided domains were not restricted to external IP addresses
Summary: VUL-0: CVE-2021-21273: matrix-synapse: user provided domains were not restric...
Status: RESOLVED FIXED
Alias: CVE-2021-21273
Product: openSUSE Distribution
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Leap 15.2
Hardware: Other Other
: P3 - Medium : Minor (vote)
Target Milestone: ---
Assignee: Oliver Kurz
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/278709/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-02 08:02 UTC by Alexander Bergmann
Modified: 2021-03-29 11:05 UTC (History)
0 users

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2021-03-02 08:02:31 UTC
CVE-2021-21273

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-21273
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21273
https://github.com/matrix-org/synapse/commit/30fba6210834a4ecd91badf0c8f3eb278b72e746
https://github.com/matrix-org/synapse/pull/8821
https://github.com/matrix-org/synapse/releases/tag/v1.25.0
https://github.com/matrix-org/synapse/security/advisories/GHSA-v936-j8gp-9q3p
Comment 1 Oliver Kurz 2021-03-29 11:05:10 UTC
https://build.opensuse.org/request/show/876180