CVEfocus › CVE database › CVE-2024-53863

CVE-2024-53863Synapse can be forced to thumbnail unexpected file formats, invoking external,…

CVSS 8.2 HighEPSS 0.9% (higher than 58% of CVEs)Published 2024-12-03Updated 2024-12-03Assigner: GitHub_M

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.

CWE-434

What to do

Fixed builds are available from Alpine, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
1Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04matrix-synapseWill not fix
Older verions of matrix-synapse lack the thumbnailer module entirely and as such, are not affected. Noble and oracular are FTBFS and will be ignored due to…
UBUNTU-CVE-2024-53863
Ubuntu 22.04matrix-synapseFix pending1.53.0-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2024-53863
Alpine Linux 3.24synapseFixed1.120.2-r0ALPINE-CVE-2024-53863
Alpine Linux 3.23synapseFixed1.120.2-r0ALPINE-CVE-2024-53863
Alpine Linux 3.22synapseFixed1.120.2-r0ALPINE-CVE-2024-53863
Alpine Linux 3.21synapseFixed1.120.2-r0ALPINE-CVE-2024-53863
Alpine Linux 3.20synapseFixed1.120.1ALPINE-CVE-2024-53863
PyPI librarymatrix-synapseFixed1.120.1PYSEC-2026-1615

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.