Security mailing lists by PureSourceCode

CVE-2023-38686

MEDIUM 5.3CVSS 3.1

Sydent does not verify email server certificates

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.

Published
4 Aug 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-295
Also known as
GHSA-p6hw-wm59-3g5gPYSEC-2023-139
Sources
NVDJSONOSV GHSA-p6hw-wm59-3g5gJSONOSV PYSEC-2023-139JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.3 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.3 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD matrix sydent
cpe:2.3:a:matrix:sydent:*:*:*:*:*:*:*:*
< 2.5.6 2.5.6
OSV PyPI matrix-sydent < 2.5.6 2.5.6

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 4 Aug 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Aug 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Jul 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.