Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2019-20916: Security patch for python-pip (ALAS-2021-1639)

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

Amazon Linux AMI 2: CVE-2019-20916: Security patch for python-pip (ALAS-2021-1639)

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:N)
Published
09/04/2020
Created
05/27/2021
Added
05/26/2021
Modified
09/30/2022

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)

  • amazon-linux-ami-2-upgrade-python-pip-wheel
  • amazon-linux-ami-2-upgrade-python2-pip
  • amazon-linux-ami-2-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

;