Skip to content
OpenAdvisories
Medium · 5.0 CVE-2022-39335 EUVD-2023-0137GHSA-45cj-f97f-ggwvPYSEC-2023-65

Synapse does not apply enough checks to servers requesting auth events of events in a room

Published May 26, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix Federation API allows remote homeservers to request the authorization events in a room. This is necessary so that a homeserver receiving some events can validate that those events are legitimate and permitted in their room. However, in versions of Synapse up to and including 1.68.0, a Synapse homeserver answering a query for authorization events does not sufficiently check that the requesting server should be able to access them. The issue was patched in Synapse 1.69.0. Homeserver administrators are advised to upgrade.

Affected products

VendorProductAffectedFixed
matrix-org synapse < 1.69.0 —

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 Pro 22.04 LTS matrix-synapse 1.53.0-1ubuntu0.1~esm2 USN-7444-1
Ubuntu Pro 20.04 LTS matrix-synapse 1.11.0-1ubuntu0.1~esm2 USN-7444-1
Ubuntu Pro 18.04 LTS matrix-synapse 0.24.0+dfsg-1ubuntu0.1~esm4 USN-7444-1
ReleasePackageFixed inAdvisory
Alpine v3.24 synapse 1.69.0-r0 —
Alpine v3.23 synapse 1.69.0-r0 —
Alpine v3.22 synapse 1.69.0-r0 —
Alpine v3.21 synapse 1.69.0-r0 —
Alpine v3.20 synapse 1.69.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 synapse 1.69.0-r0 —
Alpine v3.18 synapse 1.70.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI matrix-synapse < 1.69.0 1.69.0 GHSA-45cj-f97f-ggwv

Advisories 1

References