Advisory

GHSA-4f74-84v3-j9q5

Also known as: CVE-2023-41335, PYSEC-2023-185

Summary

matrix-synapse vulnerable to temporary storage of plaintext passwords during password changes

Details

Impact

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.

Patches
https://github.com/matrix-org/synapse/pull/16272

References

This bug was due to a regression in https://github.com/matrix-org/synapse/pull/13188.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2023-09-26 18:55 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

matrix-synapse

PyPI · All systems

Affected

  • introduced 1.66.0, fixed 1.93.0 (ecosystem)

Fixed versions

1.93.0

Fix

  • Fixed version 1.93.0
    pip install --upgrade matrix-synapse==1.93.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences