- Issued:
- 2016-05-31
- Updated:
- 2016-05-31
RHSA-2016:1166 - Moderate: python27 security, bug fix, and enhancement update
Synopsis
Moderate: python27 security, bug fix, and enhancement update
Type/Severity
Security Advisory Moderate
Topic
Updated python27 packages are now available as a part of Red Hat Software Collections 2.2 for Red Hat Enterprise Linux.
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.
Description
Python is an interpreted, interactive, object-oriented programming language that supports modules, classes, exceptions, high-level dynamic data types, and dynamic typing. The python27 packages provide a stable release of Python 2.7 with a number of additional utilities and database connectors for MySQL and PostgreSQL.
Security Fix(es):
The following fix was applied to the python component:
- The Python standard library HTTP client modules (such as httplib or urllib) did not perform verification of TLS/SSL certificates when connecting to HTTPS servers. A man-in-the-middle attacker could use this flaw to hijack connections and eavesdrop or modify transferred data. (CVE-2014-9365)
Note: The Python standard library was updated to make it possible to enable certificate verification by default. However, for backwards compatibility, verification remains disabled by default. Future updates may change this default. Refer to the Knowledgebase article 2039753 linked to in the References section for further details about this change. (BZ#1311044, BZ#1319774)
The following fix was applied to the python-pymongo component:
- A denial of service flaw was found in the way Python's SSL module implementation performed matching of certain certificate names. A remote attacker able to obtain a valid certificate that contained multiple wildcard characters could use this flaw to issue a request to validate such a certificate, resulting in excessive consumption of CPU. (CVE-2013-2099)
The following fix was applied to the python-pymongo and python-virtualenv components:
- Multiple flaws were found in the way Python's SSL module performed matching of certificate names containing wildcards. A remote attacker able to obtain a valid certificate that contained certain names with wildcards could have them incorrectly accepted by Python SSL clients, not following the RFC 6125 recommendations. (CVE-2013-7440)
The CVE-2013-2099 issue was discovered by Florian Weimer (Red Hat Product Security).
Bug Fix(es) and Enhancement(s):
The python27 Software Collection has been updated to a later version, which provides a number of bug fixes and enhancements over the previous version. Among others:
-
The python27-PyYAML package has been added, which contains a Python YAML module. PyYAML is a YAML parser and emitter for Python; it is applicable for a broad range of tasks from complex configuration files to object serialization and persistance.
-
Network security enhancements, described in the Python Enhancent Proposal 466, have been backported to the Python standard library. The security enhancements include, for example, new features in the ssl module, such as support for Server Name Indication (SNI) as well as support for new TLSv1.x protocols, new hash algorithms in the hashlib module, and much more.
-
The python27-python-pip package has been upgraded to version 7.1.0.
-
The python27-python-virtualenv package has been upgraded to verion 13.1.0.
-
The python27-python-pymongo package has been upgraded to version 3.2.1.
(BZ#1301481, BZ#1297784, BZ#1111464, BZ#1319774)
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
Affected Products
| Product | Version | Arch |
|---|---|---|
| Red Hat Software Collections (for RHEL Workstation) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Workstation) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
| Red Hat Software Collections (for RHEL Server) | 1 | x86_64 |
Updated Packages
- python27-python-docutils-0.11-2.el6.src.rpm
- python27-PyYAML-debuginfo-3.10-14.el6.x86_64.rpm
- python27-runtime-1.1-25.el7.x86_64.rpm
- python27-python-bson-3.2.1-1.el6.x86_64.rpm
- python27-python-2.7.8-14.el7.x86_64.rpm
- python27-python-libs-2.7.8-14.el7.x86_64.rpm
- python27-python-pymongo-debuginfo-3.2.1-1.el7.x86_64.rpm
- python27-tkinter-2.7.8-14.el7.x86_64.rpm
- python27-scipy-0.12.1-3.el6.src.rpm
- python27-python-2.7.8-16.el6.x86_64.rpm
- python27-scldevel-1.1-25.el6.x86_64.rpm
- python27-tkinter-2.7.8-16.el6.x86_64.rpm
- python27-PyYAML-debuginfo-3.10-14.el7.x86_64.rpm
- python27-python-pip-7.1.0-2.el6.src.rpm
- python27-scipy-0.12.1-3.el6.x86_64.rpm
- python27-python-devel-2.7.8-14.el7.x86_64.rpm
- python27-numpy-f2py-1.7.1-10.el6.x86_64.rpm
- python27-PyYAML-3.10-14.el6.x86_64.rpm
- python27-numpy-1.7.1-10.el7.x86_64.rpm
- python27-python-tools-2.7.8-14.el7.x86_64.rpm
- python27-python-debuginfo-2.7.8-16.el6.x86_64.rpm
- python27-python-pymongo-3.2.1-1.el7.src.rpm
- python27-python-devel-2.7.8-16.el6.x86_64.rpm
- python27-scldevel-1.1-25.el7.x86_64.rpm
- python27-python-virtualenv-13.1.0-1.el6.src.rpm
- python27-numpy-debuginfo-1.7.1-10.el6.x86_64.rpm
- python27-python-pip-7.1.0-2.el6.noarch.rpm
- python27-python-pip-7.1.0-2.el7.src.rpm
- python27-python-debug-2.7.8-16.el6.x86_64.rpm
- python27-numpy-1.7.1-10.el6.src.rpm
- python27-python-pymongo-debuginfo-3.2.1-1.el6.x86_64.rpm
- python27-1.1-25.el6.src.rpm
- python27-python-2.7.8-14.el7.src.rpm
- python27-PyYAML-3.10-14.el6.src.rpm
- python27-python-test-2.7.8-16.el6.x86_64.rpm
- python27-python-bson-3.2.1-1.el7.x86_64.rpm
- python27-python-test-2.7.8-14.el7.x86_64.rpm
- python27-python-debuginfo-2.7.8-14.el7.x86_64.rpm
- python27-python-docutils-0.11-2.el6.noarch.rpm
- python27-PyYAML-3.10-14.el7.src.rpm
- python27-runtime-1.1-25.el6.x86_64.rpm
- python27-scipy-0.12.1-4.el7.src.rpm
- python27-python-libs-2.7.8-16.el6.x86_64.rpm
- python27-scipy-debuginfo-0.12.1-4.el7.x86_64.rpm
- python27-python-pymongo-doc-3.2.1-1.el6.x86_64.rpm
- python27-numpy-1.7.1-10.el7.src.rpm
- python27-python-pymongo-3.2.1-1.el6.src.rpm
- python27-python-2.7.8-16.el6.src.rpm
- python27-PyYAML-3.10-14.el7.x86_64.rpm
- python27-1.1-25.el7.x86_64.rpm
- python27-numpy-f2py-1.7.1-10.el7.x86_64.rpm
- python27-python-pymongo-doc-3.2.1-1.el7.x86_64.rpm
- python27-python-pip-7.1.0-2.el7.noarch.rpm
- python27-python-tools-2.7.8-16.el6.x86_64.rpm
- python27-scipy-debuginfo-0.12.1-3.el6.x86_64.rpm
- python27-python-pymongo-3.2.1-1.el7.x86_64.rpm
- python27-python-virtualenv-13.1.0-1.el7.noarch.rpm
- python27-python-pymongo-gridfs-3.2.1-1.el6.x86_64.rpm
- python27-1.1-25.el6.x86_64.rpm
- python27-scipy-0.12.1-4.el7.x86_64.rpm
- python27-numpy-1.7.1-10.el6.x86_64.rpm
- python27-python-virtualenv-13.1.0-1.el6.noarch.rpm
- python27-numpy-debuginfo-1.7.1-10.el7.x86_64.rpm
- python27-python-pymongo-3.2.1-1.el6.x86_64.rpm
- python27-python-debug-2.7.8-14.el7.x86_64.rpm
- python27-python-pymongo-gridfs-3.2.1-1.el7.x86_64.rpm
- python27-python-virtualenv-13.1.0-1.el7.src.rpm
- python27-1.1-25.el7.src.rpm
Fixes
- This content is not included.BZ - 963260
- This content is not included.BZ - 1173041
- This content is not included.BZ - 1224999
- This content is not included.BZ - 1266529
- This content is not included.BZ - 1297783
- This content is not included.BZ - 1297784
- This content is not included.BZ - 1318319
- This content is not included.BZ - 1329141
- This content is not included.BZ - 1329944
- This content is not included.BZ - 1330041
- This content is not included.BZ - 1334447
CVEs
References
Additional information
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.