Mandriva: 2012:096-1: python
Posted by Benjamin D. Thomas   
Mandrake Multiple vulnerabilities has been discovered and corrected in python: The _ssl module would always disable the CBC IV attack countermeasure (CVE-2011-3389). [More...]

 Mandriva Linux Security Advisory                       MDVSA-2012:096-1

 Package : python
 Date    : July 2, 2012
 Affected: Enterprise Server 5.0

 Problem Description:

 Multiple vulnerabilities has been discovered and corrected in python:
 The _ssl module would always disable the CBC IV attack countermeasure
 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)
 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).
 A flaw was found in the way the Python SimpleXMLRPCServer module
 handled clients disconnecting prematurely. A remote attacker could
 use this flaw to cause excessive CPU consumption on a server using
 SimpleXMLRPCServer (CVE-2012-0845).
 Hash table collisions CPU usage DoS for the embedded copy of expat
 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).
 The updated packages have been patched to correct these issues.


 Packages for Mandriva Enterprise Server 5 is also being provided.


 Updated Packages:

 Mandriva Enterprise Server 5:
 e18f146e6c8aa316adb5d19a0de2cdef  mes5/i586/libpython2.5-2.5.2-5.12mdvmes5.2.i586.rpm
 f425a7831028c28f98bac0d95ee532ce  mes5/i586/libpython2.5-devel-2.5.2-5.12mdvmes5.2.i586.rpm
 153ff4e78256ec9b0b89f5ecd7ed317c  mes5/i586/python-2.5.2-5.12mdvmes5.2.i586.rpm
 bbff1780014007b0c95491c74d3dc82b  mes5/i586/python-base-2.5.2-5.12mdvmes5.2.i586.rpm
 e73ffb5aeff47d2008b0bdb99623579f  mes5/i586/python-docs-2.5.2-5.12mdvmes5.2.i586.rpm
 af4d7f8f20f7cf7b2beb77dbd06f6992  mes5/i586/tkinter-2.5.2-5.12mdvmes5.2.i586.rpm
 268850f5dd79335c129fa84469d39e20  mes5/i586/tkinter-apps-2.5.2-5.12mdvmes5.2.i586.rpm 
 0248488ef4499a61ba9ef31061325f1e  mes5/SRPMS/python-2.5.2-5.12mdvmes5.2.src.rpm

 Mandriva Enterprise Server 5/X86_64:
 6ee32ebb3873a3e01def5984dfa951c7  mes5/x86_64/lib64python2.5-2.5.2-5.12mdvmes5.2.x86_64.rpm
 9e7d5a39d2b224bd9141e6851350e43d  mes5/x86_64/lib64python2.5-devel-2.5.2-5.12mdvmes5.2.x86_64.rpm
 f798622e3b9f9795c373be0d90008684  mes5/x86_64/python-2.5.2-5.12mdvmes5.2.x86_64.rpm
 916fb7c6e716daaf5269086b9477efcf  mes5/x86_64/python-base-2.5.2-5.12mdvmes5.2.x86_64.rpm
 53f14e4e8d6140603acac82004bd12c9  mes5/x86_64/python-docs-2.5.2-5.12mdvmes5.2.x86_64.rpm
 ff348190df6007b7d0b043ac153f35dd  mes5/x86_64/tkinter-2.5.2-5.12mdvmes5.2.x86_64.rpm
 d7f55af87f3e3ea045b556f91c09333b  mes5/x86_64/tkinter-apps-2.5.2-5.12mdvmes5.2.x86_64.rpm 
 0248488ef4499a61ba9ef31061325f1e  mes5/SRPMS/python-2.5.2-5.12mdvmes5.2.src.rpm

 To upgrade automatically use MandrivaUpdate or urpmi.  The verification
 of md5 checksums and GPG signatures is performed automatically for you.

 All packages are signed by Mandriva for security.  You can obtain the
 GPG public key of the Mandriva Security Team by executing:

  gpg --recv-keys --keyserver 0x22458A98

 You can view other update advisories for Mandriva Linux at:

 If you want to report vulnerabilities, please contact