CVE-2022-41952 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/matrix-org/synapse/pull/11784 | CVE | PatchThird Party Advisory |
| https://github.com/matrix-org/synapse/pull/11936 | CVE | PatchThird Party Advisory |
| https://github.com/matrix-org/synapse/releases/tag/v1.52.0 | CVE | Release NotesThird Party Advisory |
| https://github.com/matrix-org/synapse/releases/tag/v1.53.0 | CVE | Release NotesThird Party Advisory |
| https://github.com/matrix-org/synapse/security/advisories/GHSA-4822-jvwx-w47h | CVE | MitigationThird Party Advisory |
| https://github.com/matrix-org/synapse/pull/11784 | [email protected] | PatchThird Party Advisory |
| https://github.com/matrix-org/synapse/pull/11936 | [email protected] | PatchThird Party Advisory |
| https://github.com/matrix-org/synapse/releases/tag/v1.52.0 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/matrix-org/synapse/releases/tag/v1.53.0 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/matrix-org/synapse/security/advisories/GHSA-4822-jvwx-w47h | [email protected] | MitigationThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-772 | Missing Release of Resource after Effective Lifetime | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| matrix synapse | < 1.53.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 6, 2023 | Reanalysis | [email protected] |
| Nov 26, 2022 | Initial Analysis | [email protected] |