[ MDVSA-2012:096 ] python Jun 20 2012 04:11PM
security mandriva com
Hash: SHA1


Mandriva Linux Security Advisory MDVSA-2012:096

Package : python
Date : June 20, 2012
Affected: 2010.1

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.



Updated Packages:

Mandriva Linux 2010.1:
c3efceda4babb96954960fd81d86f6c4 2010.1/i586/libpython2.6-2.6.5-2.5mdv2010.2.i586.rpm
b000fe745cd27bf32751c850a1c19885 2010.1/i586/libpython2.6-devel-2.6.5-2.5mdv2010.2.i586.rpm
3bfcc2467a842934f40c6c6b57e29348 2010.1/i586/python-2.6.5-2.5mdv2010.2.i586.rpm
35e1c1493a783256af91b05ce91e7a02 2010.1/i586/python-docs-2.6.5-2.5mdv2010.2.i586.rpm
74ea05d4abdfe330810dba89ab2ec559 2010.1/i586/tkinter-2.6.5-2.5mdv2010.2.i586.rpm
c829d89145ff97ee0349a587d55b8032 2010.1/i586/tkinter-apps-2.6.5-2.5mdv2010.2.i586.rpm
8674202b9c359c7ccf1fc224a2e4a2db 2010.1/SRPMS/python-2.6.5-2.5mdv2010.2.src.rpm

Mandriva Linux 2010.1/X86_64:
f732345e85d029cd7742e0e146a56b1a 2010.1/x86_64/lib64python2.6-2.6.5-2.5mdv2010.2.x86_64.rpm
2d0592f1f0f1cdd3a3e1056d414720b2 2010.1/x86_64/lib64python2.6-devel-2.6.5-2.5mdv2010.2.x86_64.rpm
4b503d77364687b8bd1d6da4d48b8d48 2010.1/x86_64/python-2.6.5-2.5mdv2010.2.x86_64.rpm
489c6861df52431f01dfd13ba0389b58 2010.1/x86_64/python-docs-2.6.5-2.5mdv2010.2.x86_64.rpm
487ee074b815870c0e02f998943539a6 2010.1/x86_64/tkinter-2.6.5-2.5mdv2010.2.x86_64.rpm
032ea3bf5e7a941df3630ff23de9506d 2010.1/x86_64/tkinter-apps-2.6.5-2.5mdv2010.2.x86_64.rpm
8674202b9c359c7ccf1fc224a2e4a2db 2010.1/SRPMS/python-2.6.5-2.5mdv2010.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 pgp.mit.edu 0x22458A98

You can view other update advisories for Mandriva Linux at:


If you want to report vulnerabilities, please contact


Type Bits/KeyID Date User ID
pub 1024D/22458A98 2000-07-10 Mandriva Security Team
Version: GnuPG v1.4.11 (GNU/Linux)


[ reply ]


Privacy Statement
Copyright 2010, SecurityFocus