6.5
MEDIUM
CVE-2022-41952
Synapse URL Preview Connection Denial of Service
Description

Synapse before 1.52.0 with URL preview functionality enabled will attempt to generate URL previews for media stream URLs without properly limiting connection time. Connections will only be terminated after `max_spider_size` (default: 10M) bytes have been downloaded, which can in some cases lead to long-lived connections towards the streaming media server (for instance, Icecast). This can cause excessive traffic and connections toward such servers if their stream URL is, for example, posted to a large room with many Synapse instances with URL preview enabled. Version 1.52.0 implements a timeout mechanism which will terminate URL preview connections after 30 seconds. Since generating URL previews for media streams is not supported and always fails, 1.53.0 additionally implements an allow list for content types for which Synapse will even attempt to generate a URL preview. Upgrade to 1.53.0 to fully resolve the issue. As a workaround, turn off URL preview functionality by setting `url_preview_enabled: false` in the Synapse configuration file.

INFO

Published Date :

Nov. 22, 2022, 4:15 p.m.

Last Modified :

July 6, 2023, 1:37 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.5

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2022-41952 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Matrix synapse
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-41952.

URL Resource
https://github.com/matrix-org/synapse/pull/11784 Patch Third Party Advisory
https://github.com/matrix-org/synapse/pull/11936 Patch Third Party Advisory
https://github.com/matrix-org/synapse/releases/tag/v1.52.0 Release Notes Third Party Advisory
https://github.com/matrix-org/synapse/releases/tag/v1.53.0 Release Notes Third Party Advisory
https://github.com/matrix-org/synapse/security/advisories/GHSA-4822-jvwx-w47h Mitigation Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-41952 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-41952 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Jul. 06, 2023

    Action Type Old Value New Value
    Added CWE NIST CWE-772
  • Initial Analysis by [email protected]

    Nov. 26, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
    Changed Reference Type https://github.com/matrix-org/synapse/pull/11784 No Types Assigned https://github.com/matrix-org/synapse/pull/11784 Patch, Third Party Advisory
    Changed Reference Type https://github.com/matrix-org/synapse/pull/11936 No Types Assigned https://github.com/matrix-org/synapse/pull/11936 Patch, Third Party Advisory
    Changed Reference Type https://github.com/matrix-org/synapse/releases/tag/v1.52.0 No Types Assigned https://github.com/matrix-org/synapse/releases/tag/v1.52.0 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/matrix-org/synapse/releases/tag/v1.53.0 No Types Assigned https://github.com/matrix-org/synapse/releases/tag/v1.53.0 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/matrix-org/synapse/security/advisories/GHSA-4822-jvwx-w47h No Types Assigned https://github.com/matrix-org/synapse/security/advisories/GHSA-4822-jvwx-w47h Mitigation, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:* versions up to (excluding) 1.53.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-41952 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-41952 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.19 }} -0.00%

score

0.56031

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability