PT-2019-12248 · Matrix · Matrix Sydent
Published
2019-04-19
·
Updated
2023-02-28
·
CVE-2019-11340
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Matrix Sydent versions prior to 1.0.2
Description
The issue arises from the handling of registration restrictions based on e-mail domain in util/emailutils.py. Specifically, when the allowed local 3pids option is enabled, it can lead to potentially unwanted behavior. This is due to how Python's email.utils.parseaddr function handles certain email addresses. For example, when applied to an address like user@bad.example.net@good.example.com, it returns the user@bad.example.net substring, which may not be the intended outcome.
Recommendations
For versions prior to 1.0.2, update to version 1.0.2 or later to resolve the issue. As a temporary workaround, consider disabling the allowed local 3pids option until the update can be applied.
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Matrix Sydent