5 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:N/A:P
0.007 Low
EPSS
Percentile
80.3%
CentOS Errata and Security Advisory CESA-2012:0745
Python is an interpreted, interactive, object-oriented programming
language.
A denial of service flaw was found in the implementation of associative
arrays (dictionaries) in Python. An attacker able to supply a large number
of inputs to a Python application (such as HTTP POST request parameters
sent to a web application) that are used as keys when inserting data into
an array could trigger multiple hash function collisions, making array
operations take an excessive amount of CPU time. To mitigate this issue,
randomization has been added to the hash function to reduce the chance of
an attacker successfully causing intentional collisions. (CVE-2012-1150)
Note: The hash randomization is not enabled by default as it may break
applications that incorrectly depend on dictionary ordering. To enable the
protection, the new βPYTHONHASHSEEDβ environment variable or the Python
interpreterβs β-Rβ command line option can be used. Refer to the python(1)
manual page for details.
The RHSA-2012:0731 expat erratum must be installed with this update, which
adds hash randomization to the Expat library used by the Python pyexpat
module.
A flaw was found in the way the Python SimpleHTTPServer module generated
directory listings. An attacker able to upload a file with a
specially-crafted name to a server could possibly perform a cross-site
scripting (XSS) attack against victims visiting a listing page generated by
SimpleHTTPServer, for a directory containing the crafted file (if the
victims were using certain web browsers). (CVE-2011-4940)
A race condition was found in the way the Python distutils module set file
permissions during the creation of the .pypirc file. If a local user had
access to the home directory of another user who is running distutils, they
could use this flaw to gain access to that userβs .pypirc file, which can
contain usernames and passwords for code repositories. (CVE-2011-4944)
Red Hat would like to thank oCERT for reporting CVE-2012-1150. oCERT
acknowledges Julian Walde and Alexander Klink as the original reporters of
CVE-2012-1150.
All Python users should upgrade to these updated packages, which contain
backported patches to correct these issues.
Merged security bulletin from advisories:
https://lists.centos.org/pipermail/centos-announce/2012-June/080854.html
Affected packages:
python
python-devel
python-libs
python-tools
tkinter
Upstream details at:
https://access.redhat.com/errata/RHSA-2012:0745
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
CentOS | 5 | i386 | python | <Β 2.4.3-46.el5_8.2 | python-2.4.3-46.el5_8.2.i386.rpm |
CentOS | 5 | i386 | python-devel | <Β 2.4.3-46.el5_8.2 | python-devel-2.4.3-46.el5_8.2.i386.rpm |
CentOS | 5 | i386 | python-libs | <Β 2.4.3-46.el5_8.2 | python-libs-2.4.3-46.el5_8.2.i386.rpm |
CentOS | 5 | i386 | python-tools | <Β 2.4.3-46.el5_8.2 | python-tools-2.4.3-46.el5_8.2.i386.rpm |
CentOS | 5 | i386 | tkinter | <Β 2.4.3-46.el5_8.2 | tkinter-2.4.3-46.el5_8.2.i386.rpm |
CentOS | 5 | x86_64 | python | <Β 2.4.3-46.el5_8.2 | python-2.4.3-46.el5_8.2.x86_64.rpm |
CentOS | 5 | i386 | python-devel | <Β 2.4.3-46.el5_8.2 | python-devel-2.4.3-46.el5_8.2.i386.rpm |
CentOS | 5 | x86_64 | python-devel | <Β 2.4.3-46.el5_8.2 | python-devel-2.4.3-46.el5_8.2.x86_64.rpm |
CentOS | 5 | x86_64 | python-libs | <Β 2.4.3-46.el5_8.2 | python-libs-2.4.3-46.el5_8.2.x86_64.rpm |
CentOS | 5 | x86_64 | python-tools | <Β 2.4.3-46.el5_8.2 | python-tools-2.4.3-46.el5_8.2.x86_64.rpm |