CentOS 6 / 7 : python (CESA-2016:1626) (httpoxy)

medium Nessus Plugin ID 93029
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote CentOS host is missing one or more security updates.

Description

An update for python is now available for Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

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.

Security Fix(es) :

* It was discovered that the Python CGIHandler class did not properly protect against the HTTP_PROXY variable name clash in a CGI context. A remote attacker could possibly use this flaw to redirect HTTP requests performed by a Python CGI script to an attacker-controlled proxy via a malicious HTTP request. (CVE-2016-1000110)

* It was found that Python's smtplib library did not return an exception when StartTLS failed to be established in the SMTP.starttls() function. A man in the middle attacker could strip out the STARTTLS command without generating an exception on the Python SMTP client application, preventing the establishment of the TLS layer. (CVE-2016-0772)

* It was found that the Python's httplib library (used by urllib, urllib2 and others) did not properly check HTTPConnection.putheader() function arguments. An attacker could use this flaw to inject additional headers in a Python application that allowed user provided header names or values. (CVE-2016-5699)

Red Hat would like to thank Scott Geary (VendHQ) for reporting CVE-2016-1000110.

Solution

Update the affected python packages.

See Also

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

http://www.nessus.org/u?84b8d6a5

Plugin Details

Severity: Medium

ID: 93029

File Name: centos_RHSA-2016-1626.nasl

Version: 2.11

Type: local

Agent: unix

Published: 8/19/2016

Updated: 1/4/2021

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2016-0772

VPR

Risk Factor: Medium

Score: 5

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N

Temporal Vector: E:POC/RL:OF/RC:C

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:python, p-cpe:/a:centos:centos:python-debug, p-cpe:/a:centos:centos:python-devel, p-cpe:/a:centos:centos:python-libs, p-cpe:/a:centos:centos:python-test, p-cpe:/a:centos:centos:python-tools, p-cpe:/a:centos:centos:tkinter, cpe:/o:centos:centos:6, cpe:/o:centos:centos:7

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/18/2016

Vulnerability Publication Date: 9/2/2016

Reference Information

CVE: CVE-2016-0772, CVE-2016-1000110, CVE-2016-5699

RHSA: 2016:1626