Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-37303 EUVD-2024-3472GHSA-gjgr-7834-rhxrPYSEC-2024-287

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

Published Dec 3, 2024 · Updated Dec 3, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
element-hq synapse < 1.106 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS matrix-synapse No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS matrix-synapse No fix yet —
Ubuntu Pro 20.04 LTS matrix-synapse No fix yet —
Ubuntu Pro 18.04 LTS matrix-synapse No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed matrix-synapse 1.120.2-1.1 openSUSE-SU-2024:14541-1
ReleasePackageFixed inAdvisory
Alpine v3.24 synapse 1.110.0-r0 —
Alpine v3.23 synapse 1.110.0-r0 —
Alpine v3.22 synapse 1.110.0-r0 —
Alpine v3.21 synapse 1.110.0-r0 —
Alpine v3.20 synapse 1.110.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI matrix-synapse < 1.106 1.106 GHSA-gjgr-7834-rhxr
PyPI matrix-synapse < 1.106.0 1.106.0 PYSEC-2024-287

Advisories 1

References