CVE-2024-53863CWE-434

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

High · published December 3, 2024

CVSS v4.0
8.2
EPSS
1%
Percentile
48.3
In the wild
Unconfirmed
What it is

⚡ A crafty request could trigger the generation of thumbnails from obscure image formats in Synapse, expanding your attack surface dangerously! 🔥 Think of this as a restaurant that suddenly allows delivery of every rare cuisine out there, even if nobody orders them — it attracts unwanted attention and could lead to some risky situations in the kitchen. An attacker could exploit this vulnerability to invoke external tools like Ghostscript, potentially executing harmful commands on your server. This could lead to unauthorized access or even total compromise of your system as it processes unexpected image formats, risking sensitive user data.

Put simply

Think of this as a restaurant that suddenly allows delivery of every rare cuisine out there, even if nobody orders them — it attracts unwanted attention and could lead to some risky situations in the kitchen. In Synapse versions before 1.120.1, enabling the dynamic_thumbnails option allows processing of uncommon image formats, which could invoke external processing tools without adequate safeguards.

What to do

An attacker could exploit this vulnerability to invoke external tools like Ghostscript, potentially executing harmful commands on your server. This could lead to unauthorized access or even total compromise of your system as it processes unexpected image formats, risking sensitive user data. To protect your Synapse installation, upgrade immediately to version 1.120.1, which restricts thumbnail generation to safer formats like PNG, JPEG, GIF, and WebP. Review your current configurations to ensure dynamic thumbnails are disabled if not needed. You’ve got this! Follow these steps, and your Synapse server will be as safe as houses! 🛡️

The record
Technical detail
CVSS v4.0
8.2 · HIGH
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
EPSS
0.00606 · 48.3th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2024-12-03T16:48Z
EPSS history
Timeline
  • 03 DEC 16:48Z
    Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders
    cvelistv5