Your submission was sent successfully! Close

CVE-2019-16056

Published: 6 September 2019

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.

Notes

AuthorNote
seth-arnold
This has a very high risk of regression. Email addresses should
not be validated beyond making sure there's at least one byte on both
sides of an '@' sign. Legal email addresses are significantly more
complicated than what is easy to express in regex.
Whatever validation this module provides is in my opinion suspect.
Priority

Medium

CVSS 3 base score: 7.5

Status

Package Release Status
python2.7
Launchpad, Ubuntu, Debian
bionic
Released (2.7.15-4ubuntu4~18.04.2)
disco
Released (2.7.16-2ubuntu0.2)
eoan Not vulnerable
(2.7.17~rc1-1)
focal Not vulnerable
(2.7.17~rc1-1)
groovy Not vulnerable
(2.7.17~rc1-1)
hirsute Not vulnerable
(2.7.17~rc1-1)
impish Not vulnerable
(2.7.17~rc1-1)
jammy Not vulnerable
(2.7.17~rc1-1)
kinetic Not vulnerable
(2.7.17~rc1-1)
precise
Released (2.7.3-0ubuntu3.15)
trusty
Released (2.7.6-8ubuntu0.6+esm3)
upstream Needs triage

xenial
Released (2.7.12-1ubuntu0~16.04.9)
Patches:
upstream: https://github.com/python/cpython/commit/4cbcd2f8c4e12b912e4d21fd892eedf7a3813d8e



python3.4
Launchpad, Ubuntu, Debian
bionic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

precise Does not exist

trusty
Released (3.4.3-1ubuntu1~14.04.7+esm4)
upstream Needs triage

xenial Does not exist

python3.5
Launchpad, Ubuntu, Debian
bionic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

precise Does not exist

trusty Needs triage

upstream Needs triage

xenial
Released (3.5.2-2ubuntu0~16.04.9)
Patches:

upstream: https://github.com/python/cpython/commit/063eba280a11d3c9a5dd9ee5abe4de640907951b


python3.6
Launchpad, Ubuntu, Debian
bionic
Released (3.6.8-1~18.04.3)
disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

Patches:


upstream: https://github.com/python/cpython/commit/13a19139b5e76175bc95294d54afc9425e4f36c9

python3.7
Launchpad, Ubuntu, Debian
bionic Needs triage

disco
Released (3.7.3-2ubuntu0.2)
eoan Not vulnerable
(3.7.4-4)
focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

precise Does not exist

trusty Does not exist

upstream
Released (3.7.4-4)
xenial Does not exist

Patches:



upstream: https://github.com/python/cpython/commit/c48d606adcef395e59fd555496c42203b01dd3e8