CVE-2024-53863
Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon GHSA (élevée), Ubuntu (moyenne).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| alpine 3.20 | synapse | 1.120.1 |
| alpine 3.21 | synapse | 1.120.2-r0 |
| alpine 3.22 | synapse | 1.120.2-r0 |
| alpine 3.23 | synapse | 1.120.2-r0 |
| alpine 3.24 | synapse | 1.120.2-r0 |
| alpine edge | synapse | 1.120.2-r0 |
| pip::GitHub Security Advisory pip | matrix-synapse | 1.120.1 |
| rapidfort debian 12 | matrix-synapse | 0:1.121.0-1 |
| rapidfort debian 13 | matrix-synapse | 0:1.121.0-1 |
| rapidfort ubuntu 20.04 | matrix-synapse | pas de correctif indiqué |
| rapidfort ubuntu 22.04 | matrix-synapse | pas de correctif indiqué |
| rapidfort ubuntu 24.04 | matrix-synapse | pas de correctif indiqué |
Afficher les 13 entrées de 13 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| alpine 3.20 | synapse | 1.120.1 |
| alpine 3.21 | synapse | 1.120.2-r0 |
| alpine 3.22 | synapse | 1.120.2-r0 |
| alpine 3.23 | synapse | 1.120.2-r0 |
| alpine 3.24 | synapse | 1.120.2-r0 |
| alpine edge | synapse | 1.120.2-r0 |
| pip::GitHub Security Advisory pip | matrix-synapse | 1.120.1 |
| rapidfort debian 12 | matrix-synapse | 0:1.121.0-1 |
| rapidfort debian 13 | matrix-synapse | 0:1.121.0-1 |
| rapidfort ubuntu 20.04 | matrix-synapse | pas de correctif indiqué |
| rapidfort ubuntu 22.04 | matrix-synapse | pas de correctif indiqué |
| rapidfort ubuntu 24.04 | matrix-synapse | pas de correctif indiqué |
| ubuntu 22.04 | matrix-synapse | pas de correctif indiqué |
Références
- https://github.com/element-hq/synapse
- https://github.com/element-hq/synapse/commit/b64a4e5fbbbf119b6c65aedf0d999b4237d55503
- https://github.com/element-hq/synapse/security/advisories/GHSA-vp6v-whfm-rv3g
- https://nvd.nist.gov/vuln/detail/CVE-2024-53863
- https://ubuntu.com/security/notices/USN-7444-1
- https://www.cve.org/CVERecord?id=CVE-2024-53863