PYSEC-2020-173

    Dashboard / Vulnerabilities / PYSEC-2020-173

    PYSEC-2020-173

    Published: 4 Sept 2020Last Modified: 8 Nov 2023

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: pip

    Purl: pkg:pypi/pip

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    0.2
    0.2.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2020-173 | CVE-DB