CVE-2024-53863
Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut GHSA (hoch), Ubuntu (mittel).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| 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 | kein Fix angegeben |
| rapidfort ubuntu 22.04 | matrix-synapse | kein Fix angegeben |
| rapidfort ubuntu 24.04 | matrix-synapse | kein Fix angegeben |
Alle 13 Einträge aus 13 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| 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 | kein Fix angegeben |
| rapidfort ubuntu 22.04 | matrix-synapse | kein Fix angegeben |
| rapidfort ubuntu 24.04 | matrix-synapse | kein Fix angegeben |
| ubuntu 22.04 | matrix-synapse | kein Fix angegeben |
Referenzen
- 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