CVE-2024-37303
JSON

5.3medium

Synapse unauthenticated writes to the media repository allow planting of problematic content

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-gjgr-7834-rhxrPYSEC-2024-287

Description

Synapse is an open-source Matrix homeserver. Synapse before version 1.106 allows, by design, unauthenticated remote participants to trigger a download and caching of remote media from a remote homeserver to the local media repository. Such content then also becomes available for download from the local homeserver in an unauthenticated way. The implication is that unauthenticated remote adversaries can use this functionality to plant problematic content into the media repository. Synapse 1.106 introduces a partial mitigation in the form of new endpoints which require authentication for media downloads. The unauthenticated endpoints will be frozen in a future release, closing the attack vector.

Affected

Product or packageVersionsReported by
element-hq synapse< 1.106, before 1.106CVE List
matrix-synapse (PyPI)before 1.106, before 1.106.0GitHub Advisory Database, PyPA Advisory Database
matrix synapsebefore 1.106.0NVD

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
PyPA Advisory Database5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-306

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Synapse is an open-source Matrix homeserver. Synapse before version 1.106 allows, by design, unauthenticated remote participants to trigger a download and caching of remote media from a remote homeserver to the local media repository. Such content then also becomes available for download from the local homeserver in an unauthenticated way. The implication is that unauthenticated remote adversaries can use this functionality to plant problematic content into the media repository. Synapse 1.106 introduces a partial mitigation in the form of new endpoints which require authentication for media downloads. The unauthenticated endpoints will be frozen in a future release, closing the attack vector.

GitHub Advisory Database
Impact

Synapse before version 1.106 allows, by design, unauthenticated remote participants to trigger a download and caching of remote media from a remote homeserver to the local media repository. Such content then also becomes available for download from the local homeserver in an unauthenticated way. The implication is that unauthenticated remote adversaries can use this functionality to plant problematic content into the media repository.

Patches

Synapse 1.106 introduces a partial mitigation in the form of new endpoints which require authentication for media downloads. The unauthenticated endpoints will be frozen in a future release, closing the attack vector.

Workarounds

Though extremely limited, server operators can use more strict rate limits based on IP address.

References
For more information

If you have any questions or comments about this advisory, please email us at security at element.io.

NVD (es)

Synapse es un servidor doméstico Matrix de código abierto. La versión 1.106 de Synapse permite, por diseño, que los participantes remotos no autenticados activen una descarga y un almacenamiento en caché de contenido multimedia remoto desde un servidor doméstico remoto al repositorio de contenido multimedia local. Dicho contenido también se vuelve disponible para su descarga desde el servidor doméstico local de forma no autenticada. La implicación es que los adversarios remotos no autenticados pueden usar esta funcionalidad para introducir contenido problemático en el repositorio de contenido multimedia. La versión 1.106 de Synapse introduce una mitigación parcial en forma de nuevos endpoints que requieren autenticación para las descargas de contenido multimedia. Los endpoints no autenticados se congelarán en una versión futura, lo que cerrará el vector de ataque.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-37303 changed 2024-12-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-gjgr-7834-rhxr changed 2026-06-06CC-BY-4.0
NVDCVE-2024-37303 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-287 changed 2026-05-20CC-BY-4.0