CVE-2011-4944
Summary
| CVE | CVE-2011-4944 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2012-08-27 23:55:01 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
NoneAvailability
NoneAV:L/AC:M/Au:N/C:P/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Python | Python | 2.6.1 | All | All | All |
| Application | Python | Python | 2.6.2 | All | All | All |
| Application | Python | Python | 2.6.2150 | All | All | All |
| Application | Python | Python | 2.6.3 | All | All | All |
| Application | Python | Python | 2.6.4 | All | All | All |
| Application | Python | Python | 2.6.5 | All | All | All |
| Application | Python | Python | 2.6.6 | All | All | All |
| Application | Python | Python | 2.6.6150 | All | All | All |
| Application | Python | Python | 2.6.7 | All | All | All |
| Application | Python | Python | 2.6.8 | All | All | All |
| Application | Python | Python | 2.7.1 | All | All | All |
| Application | Python | Python | 2.7.1 | rc1 | All | All |
| Application | Python | Python | 2.7.1150 | All | All | All |
| Application | Python | Python | 2.7.1150 | All | All | All |
| Application | Python | Python | 2.7.2 | rc1 | All | All |
| Application | Python | Python | 2.7.2150 | All | All | All |
| Application | Python | Python | 2.7.3 | All | All | All |
| Application | Python | Python | 3.0 | All | All | All |
| Application | Python | Python | 3.0.1 | All | All | All |
| Application | Python | Python | 3.1 | All | All | All |
| Application | Python | Python | 3.1.1 | All | All | All |
| Application | Python | Python | 3.1.2 | All | All | All |
| Application | Python | Python | 3.1.2150 | All | All | All |
| Application | Python | Python | 3.1.3 | All | All | All |
| Application | Python | Python | 3.1.4 | All | All | All |
| Application | Python | Python | 3.1.5 | All | All | All |
| Application | Python | Python | 3.2 | All | All | All |
| Application | Python | Python | 3.2 | alpha | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| USN-1613-2: Python 2.4 vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| Security Advisory SA50858 - Ubuntu update for python - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| bugs.python.org/file23824/pypirc-secure.diff | af854a3a-2127-422b-91ae-364da2661108 | bugs.python.org | |
| USN-1616-1: Python 3.1 vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| USN-1613-1: Python 2.5 vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| Issue 13512: ~/.pypirc created insecurely - Python tracker | af854a3a-2127-422b-91ae-364da2661108 | bugs.python.org | |
| Security Advisory SA51087 - Ubuntu update for python3.1 - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| USN-1592-1: Python 2.7 vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| Security Advisory SA51024 - Ubuntu update for python2.5 - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Security Advisory SA51040 - Ubuntu update for python2.4 - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| [security-announce] openSUSE-SU-2020:0086-1: important: Security update | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| APPLE-SA-2013-10-22-3 OS X Mavericks v10.9 | af854a3a-2127-422b-91ae-364da2661108 | lists.apple.com | |
| USN-1615-1: Python 3.2 vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| #650555 - python2.7: distutils creates .pypirc insecurely - Debian Bug report logs | af854a3a-2127-422b-91ae-364da2661108 | bugs.debian.org | |
| oss-security - Re: CVE request: distutils creates ~/.pypirc insecurely | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| oss-security - CVE request: distutils creates ~/.pypirc insecurely | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| Security Advisory SA51089 - Ubuntu update for python3.2 - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| oss-security - Re: CVE request: distutils creates ~/.pypirc insecurely | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| USN-1596-1: Python 2.6 vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| 758905 – (CVE-2011-4944) CVE-2011-4944 python: distutils creates ~/.pypirc insecurely | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.