{"id":"CVE-2019-11340","details":"util/emailutils.py in Matrix Sydent before 1.0.2 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.","aliases":["GHSA-q9h8-gpw5-c95c"],"modified":"2026-03-10T22:07:41.854857Z","published":"2019-04-19T14:29:00.417Z","references":[{"type":"WEB"},{"type":"ADVISORY","url":"https://matrix.org/blog/2019/04/18/security-update-sydent-1-0-2/"},{"type":"ADVISORY","url":"https://twitter.com/matrixdotorg/status/1118934335963500545"},{"type":"FIX","url":"https://github.com/matrix-org/sydent/commit/4e1cfff53429c49c87d5c457a18ed435520044fc"},{"type":"FIX","url":"https://github.com/matrix-org/sydent/compare/7c002cd...09278fb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/matrix-org/sydent","events":[{"introduced":"0"},{"fixed":"09278fb4945ed5a1e293706e90dde6948ac96eef"},{"fixed":"4e1cfff53429c49c87d5c457a18ed435520044fc"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.0.2"}]}}],"versions":["v1.0.0","v1.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-11340.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}