QID 352372

Date Published: 2021-05-27

QID 352372: Amazon Linux Security Advisory for python-pip: ALAS2-2021-1639

<DIV ID="issue_overview"> 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. (
cve-2019-20916 ) </DIV>

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Allows unauthorized disclosure of information; allows unauthorized modification; allows disruption of service.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2021-1639 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 352372

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2021-1639 Amazon Linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2021-1639.html