CVE-2019-16056: 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.
High CVSS 7.5
- CVE id
- CVE-2019-16056
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Python Runtimes and servers |
<= 2.7.16 >= 3.0.0, <= 3.0.1 >= 3.1.0, <= 3.1.5 >= 3.2.0, <= 3.2.6 >= 3.3.0, <= 3.3.7 >= 3.4.0, <= 3.4.10 >= 3.5.0, <= 3.5.7 >= 3.6.0, <= 3.6.9 >= 3.7.0, <= 3.7.4 |
after 2.7.16, 3.0.1, 3.1.5, 3.2.6, 3.3.7, 3.4.10, 3.5.7, 3.6.9, 3.7.4 |
How to fix it
Upgrade Python to a release newer than the last affected update of the line you run (2.7.16, 3.0.1, 3.1.5, 3.2.6, 3.3.7, 3.4.10, 3.5.7, 3.6.9, 3.7.4).
python --version
- Install the patched Python release of your minor line (pyenv, the python image tag, or your OS packages) and recreate virtual environments.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2019-16056 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2019-16056
- Web: https://access.redhat.com/errata/RHSA-2019:3725
- Web: https://access.redhat.com/errata/RHSA-2019:3948
- Web: https://bugs.python.org/issue34155
- Web: https://github.com/python/cpython/commit/8cb65d1381b027f0b09ee36bfed7f35bb4dec9a9
- Web: https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
- Web: https://lists.debian.org/debian-lts-announce/2019/09/msg00018.html
- Web: https://lists.debian.org/debian-lts-announce/2019/09/msg00019.html
- Web: https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html
- Web: https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4X3HW5JRZ7GCPSR7UHJOLD7AWLTQCDVR/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEARDOTXCYPYELKBD2KWZ27GSPXDI3GQ/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E2HP37NUVLQSBW3J735A2DQDOZ4ZGBLY/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ER6LONC2B2WYIO56GBQUDU6QTWZDPUNQ/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JCPGLTTOBB3QEARDX4JOYURP6ELNNA2V/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K4KZEFP6E4YPYB52AF4WXCUDSGQOTF37/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M34WOYCDKTDE5KLUACE2YIEH7D37KHRX/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NF3DRDGMVIRYNZMSLJIHNW47HOUQYXVG/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.