CVE-2011-4944

Python 2.6-3.2 - Race Condition Leading to Credential Exposure via World-Readable .pypirc

Title source: llm
STIX 2.1

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.

References (20)

Core 20
Core References
Various Sources x_refsource_confirm
http://bugs.python.org/file23824/pypirc-secure.diff
Various Sources x_refsource_confirm
http://bugs.python.org/issue13512
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1615-1
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/51087
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/03/27/2
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1592-1
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/03/27/5
Issue Tracking x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=758905
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1616-1
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/51040
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/50858
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/51089
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/03/27/10
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1596-1
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1613-2
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/51024
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1613-1

Scores

EPSS 0.0003
EPSS Percentile 9.4%

Details

CWE
CWE-264
Status published
Products (25)
python/python 2.6.1
python/python 2.6.2
python/python 2.6.3
python/python 2.6.4
python/python 2.6.5
python/python 2.6.6
python/python 2.6.7
python/python 2.6.8
python/python 2.6.2150
python/python 2.6.6150
... and 15 more
Published Aug 27, 2012
Tracked Since Feb 18, 2026