8.2
CWE
22
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2019-20916: Path Traversal

First published: Tue Apr 16 2019(Updated: )

A flaw was found in python-pip. Installing remote packages is vulnerable to directory traversal via Content-Disposition header by a malicious server. Upstream issue: <a href="https://github.com/pypa/pip/issues/6413">https://github.com/pypa/pip/issues/6413</a>

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/python-virtualenv<0:15.1.0-7.el7_9
0:15.1.0-7.el7_9
redhat/python-pip<0:9.0.3-18.el8
0:9.0.3-18.el8
redhat/rh-python36-python<0:3.6.12-1.el6
0:3.6.12-1.el6
redhat/rh-python36-python-pip<0:9.0.1-5.el6
0:9.0.1-5.el6
redhat/rh-python36-python-virtualenv<0:15.1.0-3.el6
0:15.1.0-3.el6
redhat/python27-python<0:2.7.18-2.el7
0:2.7.18-2.el7
redhat/python27-python-pip<0:8.1.2-6.el7
0:8.1.2-6.el7
redhat/python27-python-virtualenv<0:13.1.0-4.el7
0:13.1.0-4.el7
redhat/rh-python36-python<0:3.6.12-1.el7
0:3.6.12-1.el7
redhat/rh-python36-python-pip<0:9.0.1-5.el7
0:9.0.1-5.el7
redhat/rh-python36-python-virtualenv<0:15.1.0-3.el7
0:15.1.0-3.el7
redhat/python-pip<19.2
19.2
IBM Security Verify Access<=10.0.0 - 10.0.7.1
pypa pip<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 Policy=1.15.0
Oracle Communications Cloud Native Core Network Function Cloud Native Environment=22.1.0
pip/pip<19.2
19.2

Remedy

Avoid downloading or installing packages from potentially malicious servers via the command-line "pip download" or "pip install".

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2019-20916?

    CVE-2019-20916 is a vulnerability in the pip package installer for Python that allows directory traversal and arbitrary file overwrite.

  • How does CVE-2019-20916 affect the pip package installer?

    CVE-2019-20916 affects the pip package installer by allowing a path traversal attack when downloading or installing a remote package via a specified URL.

  • What is the severity level of CVE-2019-20916?

    CVE-2019-20916 has a severity level of high.

  • How do I fix CVE-2019-20916?

    To fix CVE-2019-20916, upgrade to pip version 19.2 or later.

  • Where can I find more information about CVE-2019-20916?

    You can find more information about CVE-2019-20916 in the references provided: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203