RHEL 6 / 7 : python27 (RHSA-2015:1064)

critical Nessus Plugin ID 210167

Synopsis

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

Description

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

Python is an interpreted, interactive, object-oriented programming language that supports modules, classes, exceptions, high-level dynamic data types, and dynamic typing. The python27 collection provide a stable release of Python 2.7 with a number of additional utilities and database connectors for MySQL and PostgreSQL.

The python27-python packages have been upgraded to upstream version 2.7.8, which provides numerous bug fixes over the previous version. (BZ#1167912)

The following security issues were fixed in the python27-python component:

It was discovered that the socket.recvfrom_into() function failed to check the size of the supplied buffer. This could lead to a buffer overflow when the function was called with an insufficiently sized buffer.
(CVE-2014-1912)

It was discovered that the Python xmlrpclib module did not restrict the size of gzip-compressed HTTP responses. A malicious XMLRPC server could cause an XMLRPC client using xmlrpclib to consume an excessive amount of memory. (CVE-2013-1753)

It was discovered that multiple Python standard library modules implementing network protocols (such as httplib or smtplib) failed to restrict the sizes of server responses. A malicious server could cause a client using one of the affected modules to consume an excessive amount of memory. (CVE-2013-1752)

It was discovered that the CGIHTTPServer module incorrectly handled URL encoded paths. A remote attacker could use this flaw to execute scripts outside of the cgi-bin directory, or disclose the source code of the scripts in the cgi-bin directory. (CVE-2014-4650)

An integer overflow flaw was found in the way the buffer() function handled its offset and size arguments. An attacker able to control these arguments could use this flaw to disclose portions of the application memory or cause it to crash. (CVE-2014-7185)

The following security issue was fixed in the python27-python and python27-python-simplejson components:

A flaw was found in the way the json module handled negative index arguments passed to certain functions (such as raw_decode()). An attacker able to control the index value passed to one of the affected functions could possibly use this flaw to disclose portions of the application memory. (CVE-2014-4616)

In addition, this update adds the following enhancement:

* The python27 Software Collection now includes the python-wheel and python-pip modules. (BZ#994189, BZ#1167902)

All python27 users are advised to upgrade to these updated packages, which correct these issues and add these enhancements. All running python27 instances must be restarted for this update to take effect.

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

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

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

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

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

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

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

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

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

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

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

http://www.nessus.org/u?c10a4cd9

https://access.redhat.com/errata/RHSA-2015:1064

Plugin Details

Severity: Critical

ID: 210167

File Name: redhat-RHSA-2015-1064.nasl

Version: 1.2

Type: local

Agent: unix

Published: 11/4/2024

Updated: 11/5/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: 6.7

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

CVSS Score Source: CVE-2014-4650

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.4

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

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:python27-python-wheel, p-cpe:/a:redhat:enterprise_linux:python27-python, p-cpe:/a:redhat:enterprise_linux:python27-scldevel, p-cpe:/a:redhat:enterprise_linux:python27-python-pip, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:python27-tkinter, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:python27, p-cpe:/a:redhat:enterprise_linux:python27-python-devel, p-cpe:/a:redhat:enterprise_linux:python27-python-simplejson, p-cpe:/a:redhat:enterprise_linux:python27-python-debug, p-cpe:/a:redhat:enterprise_linux:python27-python-setuptools, 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-runtime

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: 6/4/2015

Vulnerability Publication Date: 9/15/2013

Reference Information

CVE: CVE-2013-1752, CVE-2013-1753, CVE-2014-1912, CVE-2014-4616, CVE-2014-4650, CVE-2014-7185

CWE: 119, 120, 138, 200, 400

RHSA: 2015:1064