CVE-2024-53863

Name
CVE-2024-53863
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://github.com/element-hq/synapse/security/advisories/GHSA-vp6v-whfm-rv3g

Match rules

CPE URI Source package Min version Max version
synapse >= 0 < 1.120.1
cpe:2.3:a:element-hq:synapse:*:*:*:*:*:*:*:* synapse >= 0 < 1.120.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
synapse edge-community 1.120.2-r0 jahway603 <jahway603@protonmail.com> fixed
synapse 3.21-community 1.120.2-r0 jahway603 <jahway603@protonmail.com> fixed