Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 523
Alerts This Week
Warning Icon 1 523

Red Hat: RHSA-2016-1626-01 Moderate: Python HTTP Threats

red hat
Calendar Grey August 18, 2016
Scroller Redhat
Blue Sky recommends a cautious Perl upgrade targeting various threats. Remain vigilant and educated about weaknesses.
An update for python is now available for Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Summary

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.

References

https://access.redhat.com/security/cve/CVE-2016-0772 https://access.redhat.com/security/cve/CVE-2016-1000110 https://access.redhat.com/security/cve/CVE-2016-5699 https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux Desktop (v. 6):
Source: python-2.6.6-66.el6_8.src.rpm
i386: python-2.6.6-66.el6_8.i686.rpm python-debuginfo-2.6.6-66.el6_8.i686.rpm python-libs-2.6.6-66.el6_8.i686.rpm tkinter-2.6.6-66.el6_8.i686.rpm
x86_64: python-2.6.6-66.el6_8.x86_64.rpm python-debuginfo-2.6.6-66.el6_8.i686.rpm python-debuginfo-2.6.6-66.el6_8.x86_64.rpm python-libs-2.6.6-66.el6_8.i686.rpm python-libs-2.6.6-66.el6_8.x86_64.rpm tkinter-2.6.6-66.el6_8.x86_64.rpm
Red Hat Enterprise Linux Desktop Optional (v. 6):
i386: python-debuginfo-2.6.6-66.el6_8.i686.rpm python-devel-2.6.6-66.el6_8.i686.rpm python-test-2.6.6-66.el6_8.i686.rpm python-tools-2.6.6-66.el6_8.i686.rpm
x86_64: python-debuginfo-2.6.6-66.el6_8.i686.rpm python-debuginfo-2.6.6-66.el6_8.x86_64.rpm python-devel-2.6.6-66.el6_8.i686.rpm python-devel-2.6.6-66.el6_8.x86_64.rpm python-test-2.6.6-66.el6_8.x86_64.rpm python-tools-2.6.6-66.el6_8.x86_64.rpm
Red Hat Enterprise Linux HPC Node (v. 6):
Source: python-2.6.6-66.el6_8.src.rpm
x86_64: python-2.6.6-66.el6_8.x86_64.rpm python-debuginfo-2.6.6-66.el6_8.i686.rpm python-debuginfo-2.6.6-66.el6_8.x86_64.rpm python-devel-2.6.6-66.el6_8.i686.rpm python-devel-2.6.6-66.el6_8.x86_64.rpm python-libs-2.6.6-66.el6_8.i686.rpm python-libs-2.6.6-66.el6_8.x86_64.rpm


Read the Full Advisory


Advisory ID: RHSA-2016:1626-01
Product: Red Hat Enterprise Linux
Issue date: 2016-08-18

Topic

An update for python is now available for Red Hat Enterprise Linux 6 andRed Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - x86_64

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64

Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64

Red Hat Enterprise Linux HPC Node (v. 6) - x86_64

Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64

Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

Bugs Fixed

1303647 - CVE-2016-0772 python: smtplib StartTLS stripping attack

1303699 - CVE-2016-5699 python: http protocol steam injection attack

1351584 - Python brew builds fail for RHEL 7.2

1357334 - CVE-2016-1000110 Python CGIHandler: sets environmental variable based on user supplied Proxy request header

1365200 - Upstream tests cause building python package on brew stall and leave orphan processes that need manually kill

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.