6.5

CVE-2022-41952: matrix-org synapse Uncontrolled Resource Consumption

CVSS: 6.5v3.1MediumModified
AliasesGHSA-4822-jvwx-w47hPYSEC-2026-663UBUNTU-CVE-2022-41952
Published 22-11-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-41952 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in matrix-org synapse. EPSS estimates a 0.91% chance of exploitation in the next 30 days, higher than 59.1% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.91%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 22-11-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.91%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

+0.03 pp

From 0.87% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.91%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • matrix-synapse< 1.53.0-1
Matrix1 product
Matrix-org1 product
PyPI1 product
  • matrix-synapse< 1.53.0
Ubuntu1 product
  • matrix-synapseAll versions (No fix recorded)

5 vendors · 5 products

References

12 links
Show all 12 references