CVE-2019-11340 json
Matrix Sydent mishandles emails
published 7y ago modified 4mo ago also GHSA-q9h8-gpw5-c95c , PYSEC-2026-843 , EUVD-2022-4932
- cvss
- 5.9
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi matrix-sydent 1.0.2
- matrix sydent 1.0.2
Is CVE-2019-11340 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.80% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | matrix-sydent | <1.0.2 |
1.0.2 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/matrix-org/sydent/commit/4e1cfff53429c49c87d5c457a18ed435520044fc
web, patch, third-party-advisory
-
github.com
/matrix-org/sydent/compare/7c002cd...09278fb
web, patch, third-party-advisory
-
matrix.org
/blog/2019/04/18/security-update-sydent-1-0-2/
release-notes, vendor-advisory
-
twitter.com
/matrixdotorg/status/1118934335963500545
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-11340
advisory
-
matrix.org
/blog/2019/04/18/security-update-sydent-1-0-2
web
-
pypi.org
/project/matrix-sydent
package
-
github.com
/advisories/GHSA-q9h8-gpw5-c95c
advisory
Sources
- CVE List CVE-2019-11340
- GitHub Advisory GHSA-q9h8-gpw5-c95c
- NVD CVE-2019-11340
- OSV PYSEC-2026-843
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.