Improper Input Validation Affecting matrix-sydent package, versions [,1.0.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (62nd 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-PYTHON-MATRIXSYDENT-597175
  • published2 Aug 2020
  • disclosed2 Aug 2020
  • creditUnknown

Introduced: 2 Aug 2020

CVE-2019-11340  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade matrix-sydent to version 1.0.2 or higher.

Overview

matrix-sydent is a Reference Matrix Identity Verification and Lookup Server

Affected versions of this package are vulnerable to Improper Input Validation via the util/emailutils.py path. It mishandles registration restrictions that are based on e-mail domain, if the allowed_local_3pids option is enabled. This occurs because of potentially unwanted behavior in Python, in which an email.utils.parseaddr call on user@bad.example.net@good.example.com returns the user@bad.example.net substring.

CVSS Scores

version 3.1