GHSA-gpvv-69j7-gwj8

    Dashboard / Vulnerabilities / GHSA-gpvv-69j7-gwj8

    GHSA-gpvv-69j7-gwj8

    Published: 9 Jun 2021Last Modified: 14 Oct 2024

    Summary: Path Traversal in pip

    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. A fix was committed 6704f2ace.

    Affected packages

    Package

    Name: pip

    Purl: pkg:pypi/pip

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -19.2

    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