{"id":"CVE-2023-41335","published":"2023-09-26T20:51:29Z","modified":"2025-02-13T17:09:01Z","title":"Temporary storage of plaintext passwords during password changes in matrix synapse","vendor":"matrix-org","product":"synapse","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00387,"percentile":0.33643,"provenance":"source"},"cwes":[{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"}],"references":[{"url":"https://github.com/matrix-org/synapse/security/advisories/GHSA-4f74-84v3-j9q5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matrix-org/synapse/pull/16272","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65QPC55I4D27HIZP7H2NQ34EOXHPP4AO/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2AFB2Y3S2VCPCN5P2XCZTG24MBMZ7DM4/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N6P4QULVUE254WI7XF2LWWOGHCYVFXFY/","tags":[]},{"url":"https://security.gentoo.org/glsa/202401-12","tags":[]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":6.73},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"synapse","versions":[">= 1.66.0, < 1.93.0"]}],"affected":[{"ecosystem":"PyPI","package":"matrix-synapse","vulnerableRanges":[">=1.66.0, <1.93.0"],"patched":["1.93.0"],"from":["GHSA-4f74-84v3-j9q5","PYSEC-2023-185"],"provenance":"source"}],"summary":{"text":"The flaw lies in the Synapse Matrix homeserver (matrix-org/synapse), where new passwords set during a password change can be temporarily stored in plaintext in the server database rather than being hashed only. An attacker would need local access with high privileges on the server, or access to database backups containing these temporary records, and would have to induce a user action such as a password change for the credentials to be exposed for up to 48 hours.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:38Z"},"euvd":{"id":"EUVD-2023-0134","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-32323","published":"2023-05-26","fixed":"1.74.0","kev":false},{"cve":"CVE-2023-32682","published":"2023-06-06","fixed":"1.85.0","kev":false,"link":{"from":"CVE-2023-32682","to":"CVE-2023-41335","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.85.0","toFixed":"1.93.0","daysApart":112}]}},{"cve":"CVE-2023-32683","published":"2023-06-06","fixed":"1.85.0","kev":false},{"cve":"CVE-2023-41335","published":"2023-09-26","fixed":"1.93.0","kev":false},{"cve":"CVE-2023-42453","published":"2023-09-26","fixed":"1.93.0","kev":false},{"cve":"CVE-2023-45129","published":"2023-10-10","fixed":"1.94.0","kev":false,"link":{"from":"CVE-2023-41335","to":"CVE-2023-45129","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.93.0","toFixed":"1.94.0","daysApart":14}]}},{"cve":"CVE-2023-43796","published":"2023-10-31","fixed":"1.95.1","kev":false}],"package":"PyPI:matrix-synapse"}}