CVE-2023-41335
LOW3.7EPSS 0.11%matrix-synapse vulnerable to temporary storage of plaintext passwords during password changes
Description
### 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.
Affected packages (3)
- Debian/matrix-synapsefrom 0, < 1.93.0-1
- PyPI/matrix-synapse>= 1.66.0, < 1.93.0
- PyPI/matrix-synapse>= 1.66.0, < 1.93.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | LOW3.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N |
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-41335
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-41335
- PATCHhttps://github.com/matrix-org/synapse
- WEBhttps://github.com/matrix-org/synapse/commit/69b74d9330e42fc91a9c7423d00a06cd6d3732bf
- WEBhttps://github.com/matrix-org/synapse/pull/13188
- WEBhttps://github.com/matrix-org/synapse/pull/16272
- WEBhttps://github.com/matrix-org/synapse/security/advisories/GHSA-4f74-84v3-j9q5
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-185.yaml
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/2AFB2Y3S2VCPCN5P2XCZTG24MBMZ7DM4
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/65QPC55I4D27HIZP7H2NQ34EOXHPP4AO
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/N6P4QULVUE254WI7XF2LWWOGHCYVFXFY
- WEBhttps://security.gentoo.org/glsa/202401-12