CVE-2023-38686
Summary
| CVE | CVE-2023-38686 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-08-04 16:15:00 UTC |
| Updated | 2023-08-10 19:30:00 UTC |
| Description | Sydent is an identity server for the Matrix communications protocol. Prior to version 2.5.6, if configured to send emails using TLS, Sydent does not verify SMTP servers' certificates. This makes Sydent's emails vulnerable to interception via a man-in-the-middle (MITM) attack. Attackers with privileged access to the network can intercept room invitations and address confirmation emails. This is patched in Sydent 2.5.6. When patching, make sure that Sydent trusts the certificate of the server it is connecting to. This should happen automatically when using properly issued certificates. Those who use self-signed certificates should make sure to copy their Certification Authority certificate, or their self signed certificate if using only one, to the trust store of your operating system. As a workaround, one can ensure Sydent's emails fail to send by setting the configured SMTP server to a loopback or non-routable address under one's control which does not have a listening SMTP server. |
Risk And Classification
Problem Types: CWE-295
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Explicitly create an SSL context when emailing (#574) · matrix-org/sydent@1cd7483 · GitHub | MISC | github.com | |
| Enable TLS hostname verification by default for SMTP/IMAP/FTP/POP/NNTP protocols · Issue #91826 · python/cpython · GitHub | MISC | github.com | |
| PEP 476 – Enabling certificate verification by default for stdlib http clients | peps.python.org | MISC | peps.python.org | |
| Sydent does not verify email server certificates · Advisory · matrix-org/sydent · GitHub | MISC | github.com | |
| ssl — TLS/SSL wrapper for socket objects — Python 3.9.5 documentation | MISC | docs.python.org | |
| Release v2.5.6 · matrix-org/sydent · GitHub | MISC | github.com | |
| Explicitly create an SSL context when emailing by DMRobertson · Pull Request #574 · matrix-org/sydent · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.