Vulnerability details

CVE-2024-53863

element-hq synapse

Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders

CVSS 4.0
8.2High

Official 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.

CVSS scores

ScoreVersionSourceVector
8.2High 4.0 CVEProject cvelistV5 (CNA) (GitHub_M) 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

Affected products

VendorProductVersionsSource
element-hq synapse v < 1.120.1 CISA ADP / Vulnrichment
element-hq synapse < 1.120.1 CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2024-12-03
Last updated
2024-12-03
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.6%
Probability of exploitation in 30 days
49.1%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
None
Technical impact
Partial

Weaknesses (CWE)

  • CWE-434
    Unrestricted Upload of File with Dangerous Type