Skip to content
Fencer Vulns
low 3.7

CVE-2023-41335 json

Temporary storage of plaintext passwords during password changes in matrix synapse

published 2023-09-26 3 y ago modified 2026-09-10 1 mo ago also GHSA-4f74-84v3-j9q5 , PYSEC-2023-185 , EUVD-2023-0134

cvss
3.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 33%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi matrix-synapse 1.93.0
  • matrix synapse 1.93.0
  • matrix-synapse Ubuntu Pro 22.04 LTS 1.53.0-1ubuntu0.1~esm2

ubuntu advisories UBUNTU-CVE-2023-41335

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • matrix-synapse openSUSE Tumbleweed 1.93.0-1.1

opensuse advisories openSUSE-SU-2024:13270-1

  • synapse Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 1.93.0-r0

alpine advisories ALPINE-CVE-2023-41335

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-41335 updated cvss 3.7

matrix-synapse: temporary storage of plaintext passwords during password changes

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 3.7 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 3.7 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
OSV 3.1 3.7 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
GitHub 3.1 3.7 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
pypi matrix-synapse
>=1.66.0, <1.93.0
1.93.0

Affected products

  • matrix-org synapse

Classification

Weakness
  • CWE-312 Cleartext Storage of Sensitive Information

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.