CVE-2011-4944: Python - Race Condition
- Cve: CVE-2011-4944
- Name: Python - Race Condition
- 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: Local attackers can read ~/.pypirc to retrieve usernames and passwords, leading to credential disclosure.
- Remediation: Update Python to the latest version where this issue is fixed or apply patches that ensure secure file permissions during creation.
- Vulnerability type: race_condition
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 1.9
- Cvss vector: CVSS:2.0/AV:L/AC:M/Au:N/C:P/I:N/A:N
- Epss score: 0.00429
- Epss percentile: 0.3786
- Assignee: [email protected]
- Published at: 2012-08-27T23:55:01Z
- Age in days: 5202
- Modified at: 2026-06-16T23:35:40Z
- References total: 20
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2011-4944
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-264 | — |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:python | = 3.2, = 3.2 alpha, = 3.1.2150, = 3.1.5, = 3.1.4, = 3.1.3, = 3.1.2, = 3.1.1, = 3.1, = 3.0.1, = 3.0, = 2.7.2150, = 2.7.1150, = 2.7.3, = 2.7.2 rc1, = 2.7.1, = 2.7.1 rc1, = 2.6.6150, = 2.6.2150, = 2.6.8, = 2.6.7, = 2.6.6, = 2.6.5, = 2.6.4, = 2.6.3, = 2.6.2, = 2.6.1 | no | nvd | /v1/products/python/python |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 5105513
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports