ADVISORIES

Amazon Linux Security Advisory

ALAS2-2021-1639

Amazon Linux 2 2017.12 - ALAS2-2021-1639: medium priority package update for python-pip

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: 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. 1868135: CVE-2019-20916 python-pip: directory traversal in _download_http_url() function in src/pip/_internal/download.py

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2python-pip-wheel
All versions before 20.2.2-1.amzn2.0.2 (fixed in 20.2.2-1.amzn2.0.2)
Amazon Linux:2python2-pip
All versions before 20.2.2-1.amzn2.0.2 (fixed in 20.2.2-1.amzn2.0.2)
Amazon Linux:2python3-pip
All versions before 20.2.2-1.amzn2.0.2 (fixed in 20.2.2-1.amzn2.0.2)

References