U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2023-38686 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://docs.python.org/3/library/ssl.html?highlight=ssl#security-considerations Technical Description 
https://docs.python.org/3/library/ssl.html?highlight=ssl#security-considerations Technical Description 
https://github.com/matrix-org/sydent/commit/1cd748307c6b168b66154e6c4db715d4b9551261 Patch 
https://github.com/matrix-org/sydent/commit/1cd748307c6b168b66154e6c4db715d4b9551261 Patch 
https://github.com/matrix-org/sydent/pull/574 Issue Tracking  Patch 
https://github.com/matrix-org/sydent/pull/574 Issue Tracking  Patch 
https://github.com/matrix-org/sydent/releases/tag/v2.5.6 Release Notes 
https://github.com/matrix-org/sydent/releases/tag/v2.5.6 Release Notes 
https://github.com/matrix-org/sydent/security/advisories/GHSA-p6hw-wm59-3g5g Vendor Advisory 
https://github.com/matrix-org/sydent/security/advisories/GHSA-p6hw-wm59-3g5g Vendor Advisory 
https://github.com/python/cpython/issues/91826 Issue Tracking 
https://github.com/python/cpython/issues/91826 Issue Tracking 
https://peps.python.org/pep-0476/ Third Party Advisory 
https://peps.python.org/pep-0476/ Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-295 Improper Certificate Validation GitHub, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

3 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2023-38686
NVD Published Date:
08/04/2023
NVD Last Modified:
11/21/2024
Source:
GitHub, Inc.