Vulnerabilities · 2011 · Python
CVE-2011-4944
Python vulnerability
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.
Affected products
Python. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555
- bugs.python.org/file23824/pypirc-secure.diff
- bugs.python.org/issue13512
- lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- secunia.com/advisories/50858
- secunia.com/advisories/51024
- secunia.com/advisories/51040
- nvd.nist.gov/vuln/detail/CVE-2011-4944
- cve.org/CVERecord?id=CVE-2011-4944
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.