CVE-2021-29471: low-severity vulnerability in matrix-org synapse
Denial of service in Matrix Synapse
Published · Updated
8Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 3.7epss 1.6%
exploitation probability
1.6%top 24% of all CVEs
observed exploitation
nono source reports it
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.33.2 "Push rules" can specify conditions under which they will match, including `event_match`, which matches event content against a pattern including wildcards. Certain patterns can cause very poor performance in the matching engine, leading to a denial-of-service when processing moderate length events. The issue is patched in version 1.33.2. A potential workaround might be to prevent users from making custom push rules, by blocking such requests at a reverse-proxy.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected products
matrix-org · synapseRelated CVEs — matrix-org synapse
In the same product, most dangerous first.
CVE-2020-26257MEDIUMDenial of service attack via incorrect parameters to federation APIsEPSS 2.4%CVE-2021-21274MEDIUMDenial of service attack via .well-known lookupsEPSS 2.2%CVE-2021-21273LOWOpen redirects on some federation and push requestsEPSS 1.8%CVE-2022-31052MEDIUMURL previews can crash Synapse media repositories or Synapse monolithsEPSS 1.7%CVE-2021-21393MEDIUMDenial of service (via resource exhaustion) due to improper input validation on groups/communities endpointsEPSS 1.6%CVE-2021-41281HIGHPath traversal in Matrix SynapseEPSS 1.6%
References
https://github.com/matrix-org/synapse/commit/03318a766cac9f8b053db2214d9c332a977d226chttps://github.com/matrix-org/synapse/releases/tag/v1.33.2https://github.com/matrix-org/synapse/security/advisories/GHSA-x345-32rc-8h85https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNNAJOZNMVMXM6AS7RFFKB4QLUJ4IFEY/