CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Matrix

CVE-2024-53863
Matrix Synapse vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Synapse. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Matrix Synapse runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Matrix products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.