Vulnerability in Python
CVE-2011-4944
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 1.9 (Low). Vector: AV:L/AC:M/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.004, 37.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python — versions 2.6.1, 2.6.2, 2.6.3
Weakness classification (CWE)
References
- USN-1615-1 (vendor-advisory)
- secunia.com/advisories/51087 (third-party-advisory)
- [oss-security] 20120327 CVE request: distutils creates ~/.pypirc insecurely (mailing-list)
- USN-1592-1 (vendor-advisory)
- [oss-security] 20120327 Re: CVE request: distutils creates ~/.pypirc insecurely (mailing-list)
- bugzilla.redhat.com/show_bug.cgi
- USN-1616-1 (vendor-advisory)
- secunia.com/advisories/51040 (third-party-advisory)
- bugs.debian.org/cgi-bin/bugreport.cgi
- bugs.python.org/file23824/pypirc-secure.diff