Debian DLA-2370-1 : python-pip security update

high Nessus Plugin ID 140538

Synopsis

The remote Debian host is missing a security update.

Description

It was discovered that there was a directory traversal attack in pip, the Python package installer.

When an URL was given in an install command, as a Content-Disposition header was permitted to have '../' components in their filename, arbitrary local files (eg. /root/.ssh/authorized_keys) could be overidden.

For Debian 9 'Stretch', this problem has been fixed in version 9.0.1-2+deb9u2.

We recommend that you upgrade your python-pip packages.

For the detailed security status of python-pip please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/python-pip

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html

https://packages.debian.org/source/stretch/python-pip

https://security-tracker.debian.org/tracker/source-package/python-pip

Plugin Details

Severity: High

ID: 140538

File Name: debian_DLA-2370.nasl

Version: 1.4

Type: local

Agent: unix

Published: 9/14/2020

Updated: 2/20/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2019-20916

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python3-pip, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:python-pip, p-cpe:/a:debian:debian_linux:python-pip-whl

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/11/2020

Vulnerability Publication Date: 9/4/2020

Reference Information

CVE: CVE-2019-20916