Upstream information

CVE-2019-20916 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Running

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 6.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Access Vector Network Network
Access Complexity Low High
Privileges Required None None
User Interaction None Required
Scope Unchanged Unchanged
Confidentiality Impact None High
Integrity Impact High High
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1176262 [IN_PROGRESS]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
HPE Helion Openstack 8
  • python-pip >= 9.0.1-3.3.1
Patchnames:
HPE-Helion-OpenStack-8-2020-2726
SUSE Linux Enterprise High Performance Computing 15-ESPOS
SUSE Linux Enterprise High Performance Computing 15-LTSS
  • python-pip >= 10.0.1-3.3.1
  • python2-pip >= 10.0.1-3.3.1
  • python3-pip >= 10.0.1-3.3.1
Patchnames:
SUSE-SLE-Product-HPC-15-2020-2784
SUSE Linux Enterprise Module for Basesystem 15 SP1
  • python-pip >= 10.0.1-3.3.1
  • python3-pip >= 10.0.1-3.3.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP1-2020-2784
SUSE Linux Enterprise Module for Basesystem 15 SP2
  • python-pip >= 10.0.1-3.3.1
  • python3-pip >= 10.0.1-3.3.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP2-2020-2784
SUSE Linux Enterprise Module for Public Cloud 12
  • python-pip >= 10.0.1-11.9.1
  • python3-pip >= 10.0.1-11.9.1
Patchnames:
SUSE-SLE-Module-Public-Cloud-12-2020-2698
SUSE Linux Enterprise Module for Python2 packages 15 SP1
  • python-pip >= 10.0.1-3.3.1
  • python2-pip >= 10.0.1-3.3.1
Patchnames:
SUSE-SLE-Module-Python2-15-SP1-2020-2784
SUSE Linux Enterprise Module for Python2 packages 15 SP2
  • python-pip >= 10.0.1-3.3.1
  • python2-pip >= 10.0.1-3.3.1
Patchnames:
SUSE-SLE-Module-Python2-15-SP2-2020-2784
SUSE Linux Enterprise Server 15-LTSS
  • python-pip >= 10.0.1-3.3.1
  • python2-pip >= 10.0.1-3.3.1
  • python3-pip >= 10.0.1-3.3.1
Patchnames:
SUSE-SLE-Product-SLES-15-2020-2784
SUSE Linux Enterprise Server for SAP Applications 15
  • python-pip >= 10.0.1-3.3.1
  • python2-pip >= 10.0.1-3.3.1
  • python3-pip >= 10.0.1-3.3.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-2020-2784
SUSE OpenStack Cloud 6-LTSS
  • python-pip >= 10.0.1-11.9.1
Patchnames:
SUSE-OpenStack-Cloud-6-LTSS-2020-2698
SUSE OpenStack Cloud 7
  • python-pip >= 10.0.1-11.9.1
Patchnames:
SUSE-OpenStack-Cloud-7-2020-2698
SUSE OpenStack Cloud 8
  • python-pip >= 9.0.1-3.3.1
Patchnames:
SUSE-OpenStack-Cloud-8-2020-2726
SUSE OpenStack Cloud 9
  • python-pip >= 9.0.1-4.3.1
Patchnames:
SUSE-OpenStack-Cloud-9-2020-3016
SUSE OpenStack Cloud Crowbar 8
  • python-pip >= 9.0.1-3.3.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2020-2726
SUSE OpenStack Cloud Crowbar 9
  • python-pip >= 9.0.1-4.3.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-9-2020-3016
openSUSE Leap 15.1
  • python-pip >= 10.0.1-lp151.3.3.1
  • python2-pip >= 10.0.1-lp151.3.3.1
  • python3-pip >= 10.0.1-lp151.3.3.1
Patchnames:
openSUSE-2020-1613
openSUSE Leap 15.2
  • python-pip >= 10.0.1-lp152.4.3.1
  • python2-pip >= 10.0.1-lp152.4.3.1
  • python3-pip >= 10.0.1-lp152.4.3.1
Patchnames:
openSUSE-2020-1598


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
HPE Helion OpenStack 8 python Not affected
HPE Helion OpenStack 8 python-pip Released
HPE Helion OpenStack 8 python3 Affected
HPE Helion OpenStack Cloud 8 python-pip Affected
SUSE Enterprise Storage 5 python Not affected
SUSE Enterprise Storage 5 python3 Affected
SUSE Linux Enterprise 12 Module for Public Cloud python-pip Released
SUSE Linux Enterprise 12 Module for Web and Scripting python3 Affected
SUSE Linux Enterprise 15-SP1 Module for Basesystem python Not affected
SUSE Linux Enterprise 15-SP1 Module for Basesystem python-pip Released
SUSE Linux Enterprise 15-SP1 Module for Basesystem python3 Affected
SUSE Linux Enterprise 15-SP1 Module for Desktop Applications python Not affected
SUSE Linux Enterprise 15-SP1 Module for Python 2 python Not affected
SUSE Linux Enterprise 15-SP1 Module for Python 2 python-pip Released
SUSE Linux Enterprise 15-SP2 Module for Basesystem python Not affected
SUSE Linux Enterprise 15-SP2 Module for Basesystem python-pip Released
SUSE Linux Enterprise 15-SP2 Module for Basesystem python3 Affected
SUSE Linux Enterprise 15-SP2 Module for Desktop Applications python Not affected
SUSE Linux Enterprise 15-SP2 Module for Python 2 python Not affected
SUSE Linux Enterprise 15-SP2 Module for Python 2 python-pip Released
SUSE Linux Enterprise High Performance Computing 12 SP5 python Not affected
SUSE Linux Enterprise High Performance Computing 12 SP5 python3 Affected
SUSE Linux Enterprise High Performance Computing 12 SP5 python36 Affected
SUSE Linux Enterprise High Performance Computing 15 LTSS python Not affected
SUSE Linux Enterprise High Performance Computing 15 LTSS python-pip Affected
SUSE Linux Enterprise High Performance Computing 15 LTSS python3 Affected
SUSE Linux Enterprise Point of Service 11 SP3 python Not affected
SUSE Linux Enterprise Point of Service Image Server 12 python Not affected
SUSE Linux Enterprise Point of Service Image Server 12 python3 Affected
SUSE Linux Enterprise Server 11 SP1 python Not affected
SUSE Linux Enterprise Server 11 SP1 python27 Not affected
SUSE Linux Enterprise Server 11 SP3 python Not affected
SUSE Linux Enterprise Server 11 SP3 python-pip Not affected
SUSE Linux Enterprise Server 11 SP3 python27 Not affected
SUSE Linux Enterprise Server 11 SP4 LTSS python Not affected
SUSE Linux Enterprise Server 12 SP2 BCL python Not affected
SUSE Linux Enterprise Server 12 SP2 BCL python3 Affected
SUSE Linux Enterprise Server 12 SP2 ESPOS python Not affected
SUSE Linux Enterprise Server 12 SP2 ESPOS python3 Affected
SUSE Linux Enterprise Server 12 SP2 LTSS python Not affected
SUSE Linux Enterprise Server 12 SP2 LTSS python3 Affected
SUSE Linux Enterprise Server 12 SP3 BCL python Not affected
SUSE Linux Enterprise Server 12 SP3 BCL python3 Affected
SUSE Linux Enterprise Server 12 SP3 ESPOS python Not affected
SUSE Linux Enterprise Server 12 SP3 ESPOS python3 Affected
SUSE Linux Enterprise Server 12 SP3 LTSS python Not affected
SUSE Linux Enterprise Server 12 SP3 LTSS python3 Affected
SUSE Linux Enterprise Server 12 SP4 ESPOS python Not affected
SUSE Linux Enterprise Server 12 SP4 ESPOS python3 Affected
SUSE Linux Enterprise Server 12 SP4 LTSS python Not affected
SUSE Linux Enterprise Server 12 SP4 LTSS python3 Affected
SUSE Linux Enterprise Server 12 SP5 python Not affected
SUSE Linux Enterprise Server 12 SP5 python3 Affected
SUSE Linux Enterprise Server 12 SP5 python36 Affected
SUSE Linux Enterprise Server 15 LTSS python Not affected
SUSE Linux Enterprise Server 15 LTSS python-pip Affected
SUSE Linux Enterprise Server 15 LTSS python3 Affected
SUSE Linux Enterprise Server ESPOS 15 python Not affected
SUSE Linux Enterprise Server ESPOS 15 python-pip Affected
SUSE Linux Enterprise Server ESPOS 15 python3 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 python Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 python3 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 python Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 python3 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 python Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 python3 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python3 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python36 Affected
SUSE Linux Enterprise Server for SAP Applications 15 python Not affected
SUSE Linux Enterprise Server for SAP Applications 15 python3 Affected
SUSE OpenStack Cloud 6 LTSS python-pip Affected
SUSE OpenStack Cloud 7 python Not affected
SUSE OpenStack Cloud 7 python-pip Released
SUSE OpenStack Cloud 7 python3 Affected
SUSE OpenStack Cloud 8 python Not affected
SUSE OpenStack Cloud 8 python-pip Released
SUSE OpenStack Cloud 8 python3 Affected
SUSE OpenStack Cloud 9 python Not affected
SUSE OpenStack Cloud 9 python-pip Released
SUSE OpenStack Cloud 9 python3 Affected
SUSE OpenStack Cloud Crowbar 8 python Not affected
SUSE OpenStack Cloud Crowbar 8 python-pip Released
SUSE OpenStack Cloud Crowbar 8 python3 Affected
SUSE OpenStack Cloud Crowbar 9 python Not affected
SUSE OpenStack Cloud Crowbar 9 python-pip Released
SUSE OpenStack Cloud Crowbar 9 python3 Affected