Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. matrix-synapse
  4. ›
  5. CVE-2023-41335

CVE-2023-41335: matrix-synapse vulnerable to temporary storage of plaintext passwords during password changes

September 26, 2023 (updated September 30, 2024)

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.

References

  • github.com/advisories/GHSA-4f74-84v3-j9q5
  • github.com/matrix-org/synapse
  • github.com/matrix-org/synapse/commit/69b74d9330e42fc91a9c7423d00a06cd6d3732bf
  • github.com/matrix-org/synapse/pull/13188
  • github.com/matrix-org/synapse/pull/16272
  • github.com/matrix-org/synapse/security/advisories/GHSA-4f74-84v3-j9q5
  • github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-185.yaml
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2AFB2Y3S2VCPCN5P2XCZTG24MBMZ7DM4
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65QPC55I4D27HIZP7H2NQ34EOXHPP4AO
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N6P4QULVUE254WI7XF2LWWOGHCYVFXFY
  • nvd.nist.gov/vuln/detail/CVE-2023-41335
  • security.gentoo.org/glsa/202401-12

Code Behaviors & Features

Detect and mitigate CVE-2023-41335 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.66.0 before 1.93.0

Fixed versions

  • 1.93.0

Solution

Upgrade to version 1.93.0 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-312: Cleartext Storage of Sensitive Information

Source file

pypi/matrix-synapse/CVE-2023-41335.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:12 +0000.