ALAS2-2021-1639


Amazon Linux 2 (EOS) Security Advisory: ALAS2-2021-1639
Advisory Released Date: 2021-05-24
Advisory Updated Date: 2021-05-24
Severity: Medium

Issue Overview:

A flaw was found in the pip package installer for Python when downloading or installing a remote package via a specified URL. Improper validation of the "Content-Disposition" HTTP response header makes a path traversal attack possible, leading to an arbitrary file overwrite. This flaw allows an attacker who controls a malicious server to execute arbitrary code on the system. (CVE-2019-20916)


Affected Packages:

python-pip


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update python-pip or yum update --advisory ALAS2-2021-1639 to update your system.

New Packages:
noarch:
    python2-pip-20.2.2-1.amzn2.0.2.noarch
    python3-pip-20.2.2-1.amzn2.0.2.noarch
    python-pip-wheel-20.2.2-1.amzn2.0.2.noarch

src:
    python-pip-20.2.2-1.amzn2.0.2.src