RHEL 7 : python27 (RHSA-2020:4273)

high Nessus Plugin ID 170304

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:4273 advisory.

- python: CRLF injection via the host part of the url passed to urlopen() (CVE-2019-18348)

- python: infinite loop in the tarfile module via crafted TAR archive (CVE-2019-20907)

- python-pip: directory traversal in _download_http_url() function in src/pip/_internal/download.py (CVE-2019-20916)

- python: CRLF injection via HTTP request method in httplib/http.client (CVE-2020-26116)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://access.redhat.com/security/cve/CVE-2019-18348

https://access.redhat.com/security/cve/CVE-2019-20907

https://access.redhat.com/security/cve/CVE-2019-20916

https://access.redhat.com/security/cve/CVE-2020-26116

https://access.redhat.com/errata/RHSA-2020:4273

https://bugzilla.redhat.com/1727276

https://bugzilla.redhat.com/1856481

https://bugzilla.redhat.com/1868135

https://bugzilla.redhat.com/1883014

Plugin Details

Severity: High

ID: 170304

File Name: redhat-RHSA-2020-4273.nasl

Version: 1.2

Type: local

Agent: unix

Published: 1/23/2023

Updated: 9/7/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2020-26116

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

CVSS Score Source: CVE-2019-20916

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:python27-python-devel, p-cpe:/a:redhat:enterprise_linux:python27-python-libs, p-cpe:/a:redhat:enterprise_linux:python27-python-virtualenv, p-cpe:/a:redhat:enterprise_linux:python27-python-pip, p-cpe:/a:redhat:enterprise_linux:python27-tkinter, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:python27-python, p-cpe:/a:redhat:enterprise_linux:python27-python-test, p-cpe:/a:redhat:enterprise_linux:python27-python-debug, p-cpe:/a:redhat:enterprise_linux:python27-python-tools

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/20/2020

Vulnerability Publication Date: 10/23/2019

Reference Information

CVE: CVE-2019-18348, CVE-2019-20907, CVE-2019-20916, CVE-2020-26116

CWE: 113, 20, 22, 835

RHSA: 2020:4273