CVE-2023-41335
LOW 3.7CVSS 3.1matrix-synapse vulnerable to temporary storage of plaintext passwords during password changes
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.
- Published
- 27 Sep 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-312
- Also known as
- GHSA-4f74-84v3-j9q5PYSEC-2023-185
- Sources
- NVDJSONOSV GHSA-4f74-84v3-j9q5JSONOSV PYSEC-2023-185JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | matrix | synapsecpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:* |
>= 1.66.0, < 1.93.0 | 1.93.0 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
= 37 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| OSV | PyPI | matrix-synapse | >= 1.66.0, < 1.93.0 | 1.93.0 |
References
- https://github.com/matrix-org/synapse/pull/16272 · Patch, WEB, FIX
- https://github.com/matrix-org/synapse/security/advisories/GHSA-4f74-84v3-j9q5 · Patch, Vendor Advisory, WEB, ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2AFB2Y3S2VCPCN5P2XCZTG24MBMZ7DM4/ · Mailing List, Release Notes, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65QPC55I4D27HIZP7H2NQ34EOXHPP4AO/ · Mailing List, Release Notes, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N6P4QULVUE254WI7XF2LWWOGHCYVFXFY/ · WEB
- https://security.gentoo.org/glsa/202401-12 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-41335 · ADVISORY
- https://github.com/matrix-org/synapse/pull/13188 · WEB
- https://github.com/matrix-org/synapse/commit/69b74d9330e42fc91a9c7423d00a06cd6d3732bf · WEB
- https://github.com/matrix-org/synapse · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-185.yaml · WEB
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 27 Sep 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Sep 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Sep 2023)