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 is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

The following packages have been upgraded to a later upstream version: python27-python (2.7.18).
(BZ#1882656)

Security Fix(es):

* 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)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

* python27-python-pip: Bundles own CA bundle instead of using system CA bundle (BZ#1882668)

* python27-python-pip: Contains multiple bundled libraries, and has no bundled() provides (BZ#1882669)

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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

http://www.nessus.org/u?8b5f040c

https://access.redhat.com/security/updates/classification/#moderate

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

https://bugzilla.redhat.com/show_bug.cgi?id=1727276

https://bugzilla.redhat.com/show_bug.cgi?id=1856481

https://bugzilla.redhat.com/show_bug.cgi?id=1868135

https://bugzilla.redhat.com/show_bug.cgi?id=1882656

https://bugzilla.redhat.com/show_bug.cgi?id=1883014

Plugin Details

Severity: High

ID: 170304

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

Version: 1.4

Type: local

Agent: unix

Published: 1/23/2023

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

Vendor

Vendor Severity: Moderate

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, p-cpe:/a:redhat:enterprise_linux:python27-tkinter, p-cpe:/a:redhat:enterprise_linux:python27-python-pip, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:python27-python-devel, p-cpe:/a:redhat:enterprise_linux:python27-python-debug, p-cpe:/a:redhat:enterprise_linux:python27-python-tools, p-cpe:/a:redhat:enterprise_linux:python27-python-test, p-cpe:/a:redhat:enterprise_linux:python27-python-libs, p-cpe:/a:redhat:enterprise_linux:python27-python-virtualenv

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, 22, 835

RHSA: 2020:4273