CVE-2011-4944
LOW 1.9CVSS 2.0Python 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
- 27 Aug 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-264
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 1.9 | AV:L/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pythoncpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:* |
= 2.6.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:* |
= 2.6.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:* |
= 2.6.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:* |
= 2.6.4 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:* |
= 2.6.5 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:* |
= 2.6.6 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:* |
= 2.6.7 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.8:*:*:*:*:*:*:* |
= 2.6.8 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.2150:*:*:*:*:*:*:* |
= 2.6.2150 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.6150:*:*:*:*:*:*:* |
= 2.6.6150 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:* |
= 2.7.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:* |
= 2.7.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:* |
= 2.7.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:* |
= 2.7.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:* |
= 2.7.1150 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:x64:* |
= 2.7.1150 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:* |
= 2.7.2150 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* |
= 3.0.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1:*:*:*:*:*:*:* |
= 3.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* |
= 3.1.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* |
= 3.1.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* |
= 3.1.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* |
= 3.1.4 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* |
= 3.1.5 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:* |
= 3.1.2150 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2:*:*:*:*:*:*:* |
= 3.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:* |
= 3.2 |
References
- 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
History
- 25 Nov 2026 20:17 UTC ยท NVD: first stored (published 27 Aug 2012)