Improper Certificate Validation Affecting matrix-sydent package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.27% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-MATRIXSYDENT-5838281
  • published11 Aug 2023
  • disclosed4 Aug 2023

Introduced: 4 Aug 2023

CVE-2023-38686  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 matrix-sydent.

NVD Description

Note: Versions mentioned in the description apply only to the upstream matrix-sydent package and not the matrix-sydent package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1