CVE-2021-21273
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
matrix-synapsePyPI | < 1.25.0 | 1.25.0 |
Affected products
4cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*range: <1.25.0
- (no CPE)range: < 1.25.0
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
9- github.com/matrix-org/synapse/commit/30fba6210834a4ecd91badf0c8f3eb278b72e746nvdPatchThird Party AdvisoryWEB
- github.com/matrix-org/synapse/pull/8821nvdPatchThird Party AdvisoryWEB
- github.com/matrix-org/synapse/security/advisories/GHSA-v936-j8gp-9q3pnvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-v936-j8gp-9q3pghsaADVISORY
- github.com/matrix-org/synapse/releases/tag/v1.25.0nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-21273ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2021-131.yamlghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/TNNAJOZNMVMXM6AS7RFFKB4QLUJ4IFEYghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNNAJOZNMVMXM6AS7RFFKB4QLUJ4IFEY/nvd
News mentions
0No linked articles in our index yet.