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

Published Dec 3, 2024
·
Updated

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

https://github.com/matrix-org/matrix-spec-proposals/pull/3916

For more information

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

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
pip/matrix-synapse<1.106
1.106
matrix synapse<1.106.0

Event History

Dec 3, 2024
CVE Published
via MITRE·05:06 PM
Data Sourced
via MITRE·05:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyAffected Software
Advisory Published
via GitHub·06:40 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-37303?

CVE-2024-37303 is classified with a high severity due to the potential for unauthenticated remote participants to access sensitive media content.

2

How do I fix CVE-2024-37303?

To remediate CVE-2024-37303, upgrade matrix-synapse to version 1.106 or higher.

3

Who is affected by CVE-2024-37303?

CVE-2024-37303 affects all versions of Synapse prior to 1.106.

4

What types of data can be accessed due to CVE-2024-37303?

CVE-2024-37303 allows unauthorized access to remote media that can be downloaded and cached in a local media repository.

5

Is there a way to prevent CVE-2024-37303 if I cannot update immediately?

To temporarily mitigate CVE-2024-37303, restrict unauthenticated access to your homeserver until an upgrade can be performed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2024-37303 - Synapse unauthenticated writes to the media repository allow planting of problematic content - SecAlerts