Directory Traversal Affecting platform-python-pip package, versions <0:9.0.3-18.el8


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.26% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS8-PLATFORMPYTHONPIP-2055856
  • published 26 Jul 2021
  • disclosed 16 Apr 2019

How to fix?

Upgrade Centos:8 platform-python-pip to version 0:9.0.3-18.el8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream platform-python-pip package and not the platform-python-pip package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1
Expand this section

NVD

7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

Red Hat

8 high
Expand this section

SUSE

6.8 medium