Vulnerability · Published Dec 3, 2024 · Assigned by GitHub_M

CVE-2024-37303Synapse unauthenticated writes to the media repository allow planting of problematic content

Medium 5.3

In plain English

A medium-severity missing authentication in synapse from element-hq. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 62.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20synapse1.110.0-r0ALPINE-CVE-2024-37303
Alpine:v3.21synapse1.110.0-r0ALPINE-CVE-2024-37303
Alpine:v3.22synapse1.110.0-r0ALPINE-CVE-2024-37303
Alpine:v3.23synapse1.110.0-r0ALPINE-CVE-2024-37303
Alpine:v3.24synapse1.110.0-r0ALPINE-CVE-2024-37303
Debian:14matrix-synapse1.116.0-1DEBIAN-CVE-2024-37303
PyPImatrix-synapse1.106GHSA-gjgr-7834-rhxr
PyPImatrix-synapse1.106.0PYSEC-2024-287
Ubuntu:24.04:LTSmatrix-synapseno fix listedUBUNTU-CVE-2024-37303

Affected products (as reported)

VendorProductVersions
element-hq synapse < 1.106

Weakness: CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References