Skip to content
OpenAdvisories
Medium ALAS2-2021-1639 1 CVE

Moderate: python-pip security update (Amazon Linux 2)

Published May 20, 2021 · Updated May 24, 2021

Summary

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

Fixed packages 3

ReleasePackageFixed in
Amazon Linux · 2 python-pip-wheel 0:20.2.2-1.amzn2.0.2
Amazon Linux · 2 python2-pip 0:20.2.2-1.amzn2.0.2
Amazon Linux · 2 python3-pip 0:20.2.2-1.amzn2.0.2

Vulnerabilities 1

  • High 7.5

    Path Traversal in pip

    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 _d…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-20916.html