{"id":"CVE-2024-53863","published":"2024-12-03T16:48:29Z","modified":"2024-12-03T19:08:30Z","title":"Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders","vendor":"element-hq","product":"synapse","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00606,"percentile":0.49957,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/element-hq/synapse/security/advisories/GHSA-vp6v-whfm-rv3g","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":9.99},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"element-hq","affectedVersions":[{"vendor":"element-hq","product":"synapse","versions":["< 1.120.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-12-03T19:07:32.536899Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"matrix-synapse","vulnerableRanges":["<1.120.1"],"patched":["1.120.1"],"from":["GHSA-vp6v-whfm-rv3g","PYSEC-2026-1615"],"provenance":"source"}],"summary":{"text":"Synapse, the open-source Matrix homeserver, can be made to decode and generate thumbnails for uncommon image formats, which may invoke external tools such as Ghostscript when the dynamic_thumbnails option is enabled or a specially crafted request is processed. An attacker with network access and no authentication or user interaction can send such a request, though the flaw is only reachable when dynamic thumbnailing is enabled (or a crafted request is sent) on a Synapse version before 1.120.1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:40Z"},"euvd":{"id":"EUVD-2024-3513","exploited":false,"provenance":"source"}}