CVE-2011-4944 Race condition in n/a

Low 1.9 Published Updated

Local attackers can read credentials from ~/.pypirc due to a race condition in Python's setup tools, exposing sensitive authentication data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2011-4944?

CVE-2011-4944 is a low-severity vulnerability in Python Python, published on 27 Aug 2012. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Python 2.6 through 3.2 creates ~/.pypirc with world-readable permissions before changing them after data has been written, which introduces a race condition that allows local users to obtain a username and password by reading this file.

Weakness: CWE-264

Which versions are affected by CVE-2011-4944?

It affects 1 product.

Products include Python Python.

How do I fix CVE-2011-4944?

Apply the vendor's patch.

Is CVE-2011-4944 being exploited?

There is no known exploitation of CVE-2011-4944 in the wild and no public exploit code.

All Python Python vulnerabilities

Sources

Also known as CVE-2012-1587, DEBIAN-CVE-2011-4944, GHSA-2j46-98gf-6xf6, PSF-2012-2.

Is CVE-2011-4944 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free