Skip to content
OpenAdvisories
Low · 3.7 CVE-2023-41335 EUVD-2023-0134GHSA-4f74-84v3-j9q5PYSEC-2023-185

Temporary storage of plaintext passwords during password changes in matrix synapse

Published Sep 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. When users update their passwords, the new credentials may be briefly held in the server database. While this doesn't grant the server any added capabilities—it already learns the users' passwords as part of the authentication process—it does disrupt the expectation that passwords won't be stored in the database. As a result, these passwords could inadvertently be captured in database backups for a longer duration. These temporarily stored passwords are automatically erased after a 48-hour window. This issue has been addressed in version 1.93.0. Users are advised to upgrade. There are no known workarounds for this issue.

Affected products

VendorProductAffectedFixed
matrix-org synapse >= 1.66.0, < 1.93.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
openSUSE Tumbleweed matrix-synapse 1.93.0-1.1 openSUSE-SU-2024:13270-1
ReleasePackageFixed inAdvisory
Alpine v3.24 synapse 1.93.0-r0 —
Alpine v3.23 synapse 1.93.0-r0 —
Alpine v3.22 synapse 1.93.0-r0 —
Alpine v3.21 synapse 1.93.0-r0 —
Alpine v3.20 synapse 1.93.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 synapse 1.93.0-r0 —
Alpine v3.18 synapse 1.93.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI matrix-synapse >= 1.66.0, < 1.93.0 1.93.0 GHSA-4f74-84v3-j9q5

Advisories 2

References