5.3medium
email.utils.parseaddr mistakenly parse an email
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 4.60% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- PSF-2019-5
Description
An issue was discovered in Python through 2.7.16, 3.x through 3.5.7, 3.6.x through 3.6.9, and 3.7.x through 3.7.4. The email module wrongly parses email addresses that contain multiple @ characters. An application that uses the email module and implements some kind of checks on the From/To headers of a message could be tricked into accepting an email address that should be denied. An attack may be the same as in CVE-2019-11340; however, this CVE applies to Python more generally.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| https://github.com/python/cpython | before 063eba280a11d3c9a5dd9ee5abe4de640907951b, before 13a19139b5e76175bc95294d54afc9425e4f36c9, before 217077440a6938a0b428f67cfef6e053c4f8673c, before 4cbcd2f8c4e12b912e4d21fd892eedf7a3813d8e, before 8cb65d1381b027f0b09ee36bfed7f35bb4dec9a9, before c48d606adcef395e59fd555496c42203b01dd3e8 | Python Software Foundation |
| python python | up to 2.7.16, from 3.0.0 up to 3.0.1, from 3.1.0 up to 3.1.5, from 3.2.0 up to 3.2.6, from 3.3.0 up to 3.3.7, from 3.4.0 up to 3.4.10, from 3.5.0 up to 3.5.7, from 3.6.0 up to 3.6.9 and 1 more | NVD |
| fedoraproject fedora | 29, 30, 31 | NVD |
| debian debian_linux | 8.0, 9.0 | NVD |
| canonical ubuntu_linux | 12.04, 14.04, 16.04, 18.04, 19.04 | NVD |
| redhat software_collections | 1.0 | NVD |
| oracle communications_operations_monitor | from 4.1 up to 4.3, 3.4 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.57, 8.58 | NVD |
| oracle zfs_storage_appliance_kit | 8.8 | NVD |
| oracle solaris | 11 | NVD |
| opensuse leap | 15.0, 15.1 | NVD |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
An issue was discovered in Python through 2.7.16, 3.x through 3.5.7, 3.6.x through 3.6.9, and 3.7.x through 3.7.4. The email module wrongly parses email addresses that contain multiple @ characters. An application that uses the email module and implements some kind of checks on the From/To headers of a message could be tricked into accepting an email address that should be denied. An attack may be the same as in CVE-2019-11340; however, this CVE applies to Python more generally.
NVD (es)
Se descubrió un problema en Python versiones hasta 2.7.16, versiones 3.x hasta 3.5.7, versiones 3.6.x hasta 3.6.9 y versiones 3.7.x hasta 3.7.4. El módulo de correo electrónico analiza incorrectamente las direcciones de correo electrónico que contienen múltiples caracteres @. Una aplicación que usa el módulo de correo electrónico e implementa algún tipo de comprobación sobre los encabezados From/To de un mensaje podría ser engañada para aceptar una dirección de correo electrónico que debería ser denegada. Un ataque puede ser el mismo que en CVE-2019-11340; sin embargo, este CVE aplica a Python de manera más general.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2019-16056 changed 2026-10-14 | CVE Terms of Use |
| Python Software Foundation | PSF-2019-5 changed 2025-10-09 | CC-BY-4.0 |
| NVD | CVE-2019-16056 changed 2026-10-14 | Public domain |