9.3

CVE-2023-38686: Sydent does not verify email server certificates

Modified
AliasesGHSA-p6hw-wm59-3g5gPYSEC-2023-139UBUNTU-CVE-2023-38686
Published 04-08-2023Last modified 08-10-2024

Vulnerability summary

CVE-2023-38686 is a critical (CVSS 9.3) Improper Certificate Validation vulnerability in matrix-org sydent. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19.6% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.3/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 04-08-2023
    PublishedVulnerability first disclosed.
  2. 08-10-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.27% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: adjacent network, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Matrix1 product
Matrix-org1 product
PyPI1 product
  • matrix-sydent< 1cd748307c6b168b66154e6c4db715d4b9551261 | < 2.5.6
Ubuntu1 product
  • matrix-sydentAll versions (No fix recorded)

4 vendors · 4 products

References

13 links
Show all 13 references