python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability

BID:52732

Info

python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability

Bugtraq ID: 52732
Class: Race Condition Error
CVE: CVE-2011-4944
Remote: No
Local: Yes
Published: Mar 27 2012 12:00AM
Updated: Oct 24 2013 12:50AM
Credit: Vincent Danen
Vulnerable: VMWare ESX Server 4.1
VMWare ESX Server 4.0
Ubuntu Ubuntu Linux 11.10 i386
Ubuntu Ubuntu Linux 11.10 amd64
Ubuntu Ubuntu Linux 11.04 powerpc
Ubuntu Ubuntu Linux 11.04 i386
Ubuntu Ubuntu Linux 11.04 ARM
Ubuntu Ubuntu Linux 11.04 amd64
Ubuntu Ubuntu Linux 10.04 sparc
Ubuntu Ubuntu Linux 10.04 powerpc
Ubuntu Ubuntu Linux 10.04 i386
Ubuntu Ubuntu Linux 10.04 ARM
Ubuntu Ubuntu Linux 10.04 amd64
RedHat Enterprise Linux Desktop Workstation 5 client
Red Hat Enterprise Linux Workstation Optional 6
Red Hat Enterprise Linux Workstation 6
Red Hat Enterprise Linux Server Optional 6
Red Hat Enterprise Linux Server 6
Red Hat Enterprise Linux HPC Node Optional 6
Red Hat Enterprise Linux HPC Node 6
Red Hat Enterprise Linux Desktop Optional 6
Red Hat Enterprise Linux Desktop 6
Red Hat Enterprise Linux Desktop 5 client
Red Hat Enterprise Linux 5 Server
Python Software Foundation Python 2.5.6
Python Software Foundation Python 3.3
Python Software Foundation Python 3.2
Python Software Foundation Python 2.7
Python Software Foundation Python 2.6
Oracle Enterprise Linux 6.2
Oracle Enterprise Linux 6
Oracle Enterprise Linux 5
Mandriva Linux Mandrake 2011 x86_64
Mandriva Linux Mandrake 2011
Mandriva Linux Mandrake 2010.1 x86_64
Mandriva Linux Mandrake 2010.1
MandrakeSoft Enterprise Server 5 x86_64
MandrakeSoft Enterprise Server 5
Avaya Aura Experience Portal 6.0
+ Avaya Communication Manager Server DEFINITY Server SI/CS
+ Avaya Communication Manager Server S8100
+ Avaya Communication Manager Server S8300
+ Avaya Communication Manager Server S8500
+ Avaya Communication Manager Server S8700
Not Vulnerable:

Discussion

python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability

python is prone to a local race-condition vulnerability that affects the 'distutils' component.

An attacker with sufficient privileges to access victim's home directory can exploit this issue to bypass certain permission restrictions and disclose sensitive information.

Exploit / POC

python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability

Attackers can use readily available tools to exploit this issue.

Solution / Fix

python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability

Solution:
Updates are available. Please see the references for more information.

References

python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report