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
- github.com/matrix-org/synapse@69b74d9 commit
- github.com/matrix-org/synapse#16272 pull request
- github.com/matrix-org/synapse#13188 pull request
- github.com/matrix-org/synapse/security/advisories/GHSA-4f74-84v3-j9q5 advisory
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 productsnot 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
-
github.com
/matrix-org/synapse/pull/16272
web, patch
-
github.com
/matrix-org/synapse/security/advisories/GHSA-4f74-84v3-j9q5
web, patch, vendor-advisory, advisory
-
github.com
/matrix-org/synapse/pull/13188
web
-
github.com
/matrix-org/synapse/commit/69b74d9330e42fc91a9c7423d00a06cd6d3732bf
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/65QPC55I4D27HIZP7H2NQ34EOXHPP4AO/
mailing-list, release-notes
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/2AFB2Y3S2VCPCN5P2XCZTG24MBMZ7DM4/
mailing-list, release-notes
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/N6P4QULVUE254WI7XF2LWWOGHCYVFXFY/
-
security.gentoo.org
/glsa/202401-12
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-41335
advisory
-
github.com
/matrix-org/synapse
package
-
github.com
/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-185.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/2AFB2Y3S2VCPCN5P2XCZTG24MBMZ7DM4
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/65QPC55I4D27HIZP7H2NQ34EOXHPP4AO
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/N6P4QULVUE254WI7XF2LWWOGHCYVFXFY
web
Sources
- CVE List CVE-2023-41335
- GitHub Advisory GHSA-4f74-84v3-j9q5
- NVD CVE-2023-41335
- OSV PYSEC-2023-185
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.