CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NHigh (7.5). EPSS 3.0% estimated probability of exploitation activity in the next 30 days. Fixed in pip 19.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Npip (PyPI): fixed in 19.2Explain CVE-2019-20916 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-20916?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-20916?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-20916 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| pypa:pip | before 19.2 |
| opensuse:leap | 15.1 |
| opensuse:leap | 15.2 |
| debian:debian_linux | 9.0 |
| oracle:communications_cloud_native_core_network_function_cloud_native_environment | 1.10.0 |
| oracle:communications_cloud_native_core_network_function_cloud_native_environment | 22.1.0 |
| oracle:communications_cloud_native_core_policy | 1.15.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-gpvv-69j7-gwj8 | PyPI | pip | <19.2 | 19.2 |
| PYSEC-2020-173 | PyPI | pip | <19.2 | 19.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | python-pip | 9.0.1-2+deb9u2 | DLA-2370-1 |
| Debian | 12, 13, 14 | python-pip | 20.0.2-1 | DEBIAN-CVE-2019-20916 |
| Ubuntu | 18.04:LTS | python-pip | 9.0.1-2.3~ubuntu1.18.04.4 | UBUNTU-CVE-2019-20916 USN-4601-1 |
| Ubuntu | Pro:14.04:LTS, Pro:16.04:LTS | python-pip | no fix listed | UBUNTU-CVE-2019-20916 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | python-virtualenv | 0:15.1.0-7.el7_9 | RHSA-2022:5234 |
| Red Hat | enterprise_linux:8::appstream | Cython, python2-Cython, Cython-debugsource and 1 more | 0:0.28.1-7.module+el8.1.0+3111+de3f2d8e | RHSA-2020:4654 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python2-pyyaml, PyYAML-debugsource and 1 more | 0:3.12-16.module+el8.1.0+3111+de3f2d8e | RHSA-2020:4654 |
| Red Hat | enterprise_linux:8::appstream | babel, python2-babel | 0:2.5.1-9.module+el8.1.0+3111+de3f2d8e | RHSA-2020:4654 |
| Red Hat | enterprise_linux:8::appstream | numpy, python2-numpy, numpy-debugsource and 3 more | 1:1.14.2-13.module+el8.1.0+3323+7ac3e00f | RHSA-2020:4654 |
| Red Hat | enterprise_linux:8::appstream | pytest, python2-pytest | 0:3.4.2-13.module+el8.1.0+3111+de3f2d8e | RHSA-2020:4654 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python2-PyMySQL | 0:0.8.0-10.module+el8.1.0+3111+de3f2d8e | RHSA-2020:4654 |
| Red Hat | enterprise_linux:8::appstream | python-attrs, python2-attrs | 0:17.4.0-10.module+el8.1.0+3111+de3f2d8e | RHSA-2020:4654 |
| Red Hat | enterprise_linux:8::appstream | python-backports, python2-backports | 0:1.0-15.module+el8.1.0+3111+de3f2d8e | RHSA-2020:4654 |
| Red Hat | enterprise_linux:8::appstream | python-backports-ssl_match_hostname, python2-backports-ssl_match_hostname | 0:3.5.0.1-11.module+el8.1.0+3111+de3f2d8e | RHSA-2020:4654 |
| Red Hat | enterprise_linux:8::appstream | python-chardet, python2-chardet | 0:3.0.4-10.module+el8.1.0+3111+de3f2d8e | RHSA-2020:4654 |
| Red Hat | enterprise_linux:8::appstream | python-coverage, python2-coverage, python2-coverage-debuginfo and 1 more | 0:4.5.1-4.module+el8.1.0+3111+de3f2d8e | RHSA-2020:4654 |
| 42 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Module for Containers 12 and 17 more | python-setuptools | 40.6.2-4.18.1 | SUSE-SU-2020:3594-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Module for Web and Scripting 12 and 16 more | python3 | 3.4.10-25.63.1 | SUSE-SU-2021:0344-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Module for Web and Scripting 12 and 16 more | python3, python3-base | 3.4.10-25.58.1 | SUSE-SU-2020:3596-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Module for Web and Scripting 12 and 16 more | python3-base | 3.4.10-25.63.2 | SUSE-SU-2021:0344-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 more | python, python-base | 2.7.17-28.64.1 | SUSE-SU-2021:0432-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 more | python, python-doc, python-base | 2.7.17-28.59.1 | SUSE-SU-2020:3765-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 more | python-doc | 2.7.17-28.64.3 | SUSE-SU-2021:0432-1 |
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS and 5 more | python-pip, python-pip-wheel | 20.0.2-150100.6.18.1 | SUSE-SU-2023:0516-2 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 more | python, python-base | 2.7.17-7.52.2 | SUSE-SU-2021:0355-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | python-pip | 9.0.1-3.3.1 | SUSE-SU-2020:2726-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 5 more | python, python-base | 2.7.17-7.47.1 | SUSE-SU-2020:3597-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 5 more | python-pip | 10.0.1-3.3.1 | SUSE-SU-2020:2784-1 |
| 21 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.1 | python, python-doc, python-base | 2.7.17-lp151.10.29.1 | openSUSE-SU-2020:2189-1 |
| openSUSE | Leap 15.1 | python-pip | 10.0.1-lp151.3.3.1 | openSUSE-SU-2020:1613-1 |
| openSUSE | Leap 15.1 | python-pip, python-pip-wheel | 10.0.1-lp151.3.6.1 | openSUSE-SU-2020:2184-1 |
| openSUSE | Leap 15.1 | python-setuptools, python-setuptools-test, python-setuptools-wheel | 40.5.0-lp151.2.3.1 | openSUSE-SU-2020:2185-1 |
| openSUSE | Leap 15.1 | python3, python3-base | 3.6.12-lp151.6.27.1 | openSUSE-SU-2020:2190-1 |
| openSUSE | Leap 15.2 | python, python-doc | 2.7.17-lp152.3.9.1 | openSUSE-SU-2020:2211-1 |
| openSUSE | Leap 15.2 | python, python-doc, python-base | 2.7.17-lp152.3.12.1 | openSUSE-SU-2021:0270-1 |
| openSUSE | Leap 15.2 | python-base | 2.7.17-lp152.3.9.2 | openSUSE-SU-2020:2211-1 |
| openSUSE | Leap 15.2 | python-pip | 10.0.1-lp152.4.3.1 | openSUSE-SU-2020:1598-1 |
| openSUSE | Leap 15.2 | python-pip, python-pip-wheel | 10.0.1-lp152.4.6.1 | openSUSE-SU-2020:2169-1 |
| openSUSE | Leap 15.2 | python-setuptools, python-setuptools-test, python-setuptools-wheel | 40.5.0-lp152.3.3.1 | openSUSE-SU-2020:2143-1 |
| openSUSE | Leap 15.2 | python3, python3-core, python3-documentation | 3.6.12-lp152.4.17.1 | openSUSE-SU-2021:0331-1 |
| 7 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | python-sqlalchemy-doc | 1.3.2-2.module_el8.5.0+2569+5c5719bc | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-Cython | 0.28.1-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-PyMySQL | 0.8.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-attrs | 17.4.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-chardet | 3.0.4-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-coverage | 4.5.1-4.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-dns | 1.15.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-docs, python2-docs-info | 2.7.16-2.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-docutils | 0.14-12.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-funcsigs | 1.0.2-13.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-idna | 2.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-ipaddress | 1.0.18-6.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| 14 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.4.0+403+9ae17a31 | RLSA-2020:4654 |
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.5.0+706+735ec4b3 | RLSA-2020:4654 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.4.0+403+9ae17a31 | RLSA-2020:4654 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.5.0+706+735ec4b3 | RLSA-2020:4654 |
| Rocky Linux | 8 | babel | 0:2.5.1-9.module+el8.4.0+403+9ae17a31 | RLSA-2020:4654 |
| Rocky Linux | 8 | pytest | 0:3.4.2-13.module+el8.4.0+403+9ae17a31 | RLSA-2020:4654 |
| Rocky Linux | 8 | pytest | 0:3.4.2-13.module+el8.5.0+706+735ec4b3 | RLSA-2020:4654 |
| Rocky Linux | 8 | python-PyMySQL | 0:0.8.0-10.module+el8.3.0+120+426d8baf | RLSA-2020:4654 |
| Rocky Linux | 8 | python-PyMySQL | 0:0.8.0-10.module+el8.5.0+706+735ec4b3 | RLSA-2020:4654 |
| Rocky Linux | 8 | python-attrs | 0:17.4.0-10.module+el8.4.0+403+9ae17a31 | RLSA-2020:4654 |
| Rocky Linux | 8 | python-attrs | 0:17.4.0-10.module+el8.5.0+706+735ec4b3 | RLSA-2020:4654 |
| Rocky Linux | 8 | python-chardet | 0:3.0.4-10.module+el8.4.0+403+9ae17a31 | RLSA-2020:4654 |
| 42 more for Rocky Linux in the JSON. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
This issue has been rated as having Moderate impact because of the preconditions needed to trigger the flaw: it only affects Python Wheels and requires the user to pip-install a wheel from a malicious server. Installing software from untrusted servers is insecure by definition and strongly discouraged, as it may lead to system compromise regardless of this CVE.
This flaw did not affect the versions of `python-pip` in Python 3.8 as shipped with Red Hat Enterprise Linux 8 and Red Hat Software Collections 3, as they already included the fix for this CVE.
Avoid downloading or installing packages from potentially malicious servers via the command-line "pip download" or "pip install".
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | python-virtualenv-0:15.1.0-7.el7_9 | Fixed 2022-06-28 | RHSA-2022:5234 |
| Red Hat Enterprise Linux 8 | python-pip-0:9.0.3-18.el8 | Fixed 2020-11-04 | RHSA-2020:4432 |
| Red Hat Enterprise Linux 8 | python27:2.7-8030020200819165638.851f4228 | Fixed 2020-11-04 | RHSA-2020:4654 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-python36-python-0:3.6.12-1.el6 | Fixed 2020-10-19 | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-python36-python-pip-0:9.0.1-5.el6 | Fixed 2020-10-19 | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-python36-python-virtualenv-0:15.1.0-3.el6 | Fixed 2020-10-19 | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-0:2.7.18-2.el7 | Fixed 2020-10-20 | RHSA-2020:4273 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-pip-0:8.1.2-6.el7 | Fixed 2020-10-20 | RHSA-2020:4273 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-virtualenv-0:13.1.0-4.el7 | Fixed 2020-10-20 | RHSA-2020:4273 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python36-python-0:3.6.12-1.el7 | Fixed 2020-10-19 | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python36-python-pip-0:9.0.1-5.el7 | Fixed 2020-10-19 | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python36-python-virtualenv-0:15.1.0-3.el7 | Fixed 2020-10-19 | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | python27-python-0:2.7.18-2.el7 | Fixed 2020-10-20 | RHSA-2020:4273 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | python27-python-pip-0:8.1.2-6.el7 | Fixed 2020-10-20 | RHSA-2020:4273 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | python27-python-virtualenv-0:13.1.0-4.el7 | Fixed 2020-10-20 | RHSA-2020:4273 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-python36-python-0:3.6.12-1.el7 | Fixed 2020-10-19 | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-python36-python-pip-0:9.0.1-5.el7 | Fixed 2020-10-19 | RHSA-2020:4285 |
| Red Hat Enterprise Linux 7 | python-pip | Will not fix | |
| Red Hat Enterprise Linux 8 | python38:3.8/python3x-pip | Not affected | |
| Red Hat Software Collections | rh-python38-python-pip | Not affected | |
| 7 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-20916.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.