Mandriva Linux Security Advisory 2012-097 - Multiple vulnerabilities has been discovered and corrected in python. A race condition was found in the way the Python distutils module set file permissions during the creation of the .pypirc file. A flaw was found in the way the Python SimpleXMLRPCServer module handled clients disconnecting prematurely. Various other issues have also been addressed. The updated packages have been patched to correct these issues.
ea9f72137a552f0a45271fbb9a2d3f3aee9113cb46971ef47821e194f3b4801e
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
_______________________________________________________________________
Mandriva Linux Security Advisory MDVSA-2012:097
https://www.mandriva.com/security/
_______________________________________________________________________
Package : python
Date : June 20, 2012
Affected: 2011.
_______________________________________________________________________
Problem Description:
Multiple vulnerabilities has been discovered and corrected in python:
The _ssl module would always disable the CBC IV attack countermeasure
(CVE-2011-3389).
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
(CVE-2012-0876).
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.
_______________________________________________________________________
References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3389
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4944
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0845
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0876
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1150
_______________________________________________________________________
Updated Packages:
Mandriva Linux 2011:
3a636759b5bad1fbc2d1e65d09f065e8 2011/i586/libpython2.7-2.7.2-2.2-mdv2011.0.i586.rpm
9a1cca4bb94f9d48c9da77b890489137 2011/i586/libpython-devel-2.7.2-2.2-mdv2011.0.i586.rpm
c6bf8a9f3f3fb4dde435d369bfde2491 2011/i586/python-2.7.2-2.2-mdv2011.0.i586.rpm
3f920fd4ea52ce46d3916f03ffc6f823 2011/i586/python-docs-2.7.2-2.2-mdv2011.0.i586.rpm
0ffc3a9eef594322deffa1b2dd740e85 2011/i586/tkinter-2.7.2-2.2-mdv2011.0.i586.rpm
43d6123beffdcb8d96feabc291497071 2011/i586/tkinter-apps-2.7.2-2.2-mdv2011.0.i586.rpm
50475c472b29fe6be76697b642ed7339 2011/SRPMS/python-2.7.2-2.2.src.rpm
Mandriva Linux 2011/X86_64:
d6734d8d3f14fa0b5992621dc41163b2 2011/x86_64/lib64python2.7-2.7.2-2.2-mdv2011.0.x86_64.rpm
9f352fe74256c707c817257c0221307d 2011/x86_64/lib64python-devel-2.7.2-2.2-mdv2011.0.x86_64.rpm
8d64c9235837b188c3e706e7d2ea7800 2011/x86_64/python-2.7.2-2.2-mdv2011.0.x86_64.rpm
4b834815a0d8bac098870cc0755c63d5 2011/x86_64/python-docs-2.7.2-2.2-mdv2011.0.x86_64.rpm
8f0d7f2fba81c33dece3d94e0c03b7d9 2011/x86_64/tkinter-2.7.2-2.2-mdv2011.0.x86_64.rpm
0883aad29e1942356169eb3b9017e6d5 2011/x86_64/tkinter-apps-2.7.2-2.2-mdv2011.0.x86_64.rpm
50475c472b29fe6be76697b642ed7339 2011/SRPMS/python-2.7.2-2.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:
https://www.mandriva.com/security/advisories
If you want to report vulnerabilities, please contact
security_(at)_mandriva.com
_______________________________________________________________________
Type Bits/KeyID Date User ID
pub 1024D/22458A98 2000-07-10 Mandriva Security Team
<security*mandriva.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iD8DBQFP4dHFmqjQ0CJFipgRAjwiAKCvZMF2BPEdYH+FtvHbwHOQ1m4f1gCdGFzY
AkpKlUfcOApJFL5S9eqGp7Y=
=jZ7k
-----END PGP SIGNATURE-----