Rapid7 Vulnerability & Exploit Database

Ubuntu: USN-4601-1 (CVE-2019-20916): pip vulnerability

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Ubuntu: USN-4601-1 (CVE-2019-20916): pip vulnerability

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:N)
Published
09/04/2020
Created
10/26/2020
Added
10/23/2020
Modified
03/22/2023

Description

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.

Solution(s)

  • ubuntu-upgrade-python-pip
  • ubuntu-upgrade-python3-pip

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;