CVE-2011-4944
Severity CVSS v4.0:
Pending analysis
Type:
CWE-264
Permissions, Privileges, and Access Control
Publication date:
27/08/2012
Last modified:
11/04/2025
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.
Impact
Base Score 2.0
1.90
Severity 2.0
LOW
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.6.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.6.2150:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.6.6150:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555
- http://bugs.python.org/file23824/pypirc-secure.diff
- http://bugs.python.org/issue13512
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- http://secunia.com/advisories/50858
- http://secunia.com/advisories/51024
- http://secunia.com/advisories/51040
- http://secunia.com/advisories/51087
- http://secunia.com/advisories/51089
- http://www.openwall.com/lists/oss-security/2012/03/27/10
- http://www.openwall.com/lists/oss-security/2012/03/27/2
- http://www.openwall.com/lists/oss-security/2012/03/27/5
- http://www.ubuntu.com/usn/USN-1592-1
- http://www.ubuntu.com/usn/USN-1596-1
- http://www.ubuntu.com/usn/USN-1613-1
- http://www.ubuntu.com/usn/USN-1613-2
- http://www.ubuntu.com/usn/USN-1615-1
- http://www.ubuntu.com/usn/USN-1616-1
- https://bugzilla.redhat.com/show_bug.cgi?id=758905
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555
- http://bugs.python.org/file23824/pypirc-secure.diff
- http://bugs.python.org/issue13512
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- http://secunia.com/advisories/50858
- http://secunia.com/advisories/51024
- http://secunia.com/advisories/51040
- http://secunia.com/advisories/51087
- http://secunia.com/advisories/51089
- http://www.openwall.com/lists/oss-security/2012/03/27/10
- http://www.openwall.com/lists/oss-security/2012/03/27/2
- http://www.openwall.com/lists/oss-security/2012/03/27/5
- http://www.ubuntu.com/usn/USN-1592-1
- http://www.ubuntu.com/usn/USN-1596-1
- http://www.ubuntu.com/usn/USN-1613-1
- http://www.ubuntu.com/usn/USN-1613-2
- http://www.ubuntu.com/usn/USN-1615-1
- http://www.ubuntu.com/usn/USN-1616-1
- https://bugzilla.redhat.com/show_bug.cgi?id=758905



