Synapse is an open-source Matrix homeserver. In Synapse versions before 1.120.1, enabling the dynamic_thumbnails option or processing a specially crafted request could trigger the decoding and thumbnail generation of uncommon image formats, potentially invoking external tools like Ghostscript for processing. This significantly expands the attack surface in a historically vulnerable area, presenting a risk that far outweighs the benefit, particularly since these formats are rarely used on the open web or within the Matrix ecosystem. Synapse 1.120.1 addresses the issue by restricting thumbnail generation to images in the following widely used formats: PNG, JPEG, GIF, and WebP. This vulnerability is fixed in 1.120.1.
History

Tue, 03 Dec 2024 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Element-hq
Element-hq synapse
CPEs cpe:2.3:a:element-hq:synapse:*:*:*:*:*:*:*:*
Vendors & Products Element-hq
Element-hq synapse
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 03 Dec 2024 17:00:00 +0000

Type Values Removed Values Added
Description Synapse is an open-source Matrix homeserver. In Synapse versions before 1.120.1, enabling the dynamic_thumbnails option or processing a specially crafted request could trigger the decoding and thumbnail generation of uncommon image formats, potentially invoking external tools like Ghostscript for processing. This significantly expands the attack surface in a historically vulnerable area, presenting a risk that far outweighs the benefit, particularly since these formats are rarely used on the open web or within the Matrix ecosystem. Synapse 1.120.1 addresses the issue by restricting thumbnail generation to images in the following widely used formats: PNG, JPEG, GIF, and WebP. This vulnerability is fixed in 1.120.1.
Title Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders
Weaknesses CWE-434
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-12-03T16:48:29.722Z

Updated: 2024-12-03T19:08:30.218Z

Reserved: 2024-11-22T17:30:02.145Z

Link: CVE-2024-53863

cve-icon Vulnrichment

Updated: 2024-12-03T19:08:17.948Z

cve-icon NVD

Status : Received

Published: 2024-12-03T17:15:12.633

Modified: 2024-12-03T17:15:12.633

Link: CVE-2024-53863

cve-icon Redhat

No data.