ADVISORIES

Vulnerability

CVE-2019-20916

The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a Content-Disposition header can have ../ in a filename, as demonstrated by overwriting the /root/.ssh/authorized_keys file. This occurs in _download_http_url in _internal/download.py.

60 advisories report this vulnerability, across 10 ecosystems.

Advisories in Red Hat

  • RHSA-2020:4273

    Red Hat Security Advisory: python27 security, bug fix, and enhancement update

    CVE-2019-18348CVE-2019-20907CVE-2019-20916CVE-2020-26116 Red Hat Updated 23 November 2026
  • RHSA-2020:4285

    Red Hat Security Advisory: rh-python36 security, bug fix, and enhancement update

    CVE-2019-16935CVE-2019-18348CVE-2019-20907CVE-2019-20916 Red Hat Updated 26 November 2026
  • RHSA-2020:4432

    Red Hat Security Advisory: python-pip security update

    CVE-2019-20916 Red Hat Updated 23 November 2026
  • RHSA-2020:4654

    Red Hat Security Advisory: python27:2.7 security update

    CVE-2019-20907CVE-2019-20916 Red Hat Updated 23 November 2026
  • RHSA-2022:5234

    Red Hat Security Advisory: python-virtualenv security update

    CVE-2019-20916 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2019-20916

    python-pip: directory traversal in _download_http_url() function in src/pip/_internal/download.py

    Moderate CVE-2019-20916 Red Hat Updated 23 November 2026

References