All vulnerabilities

Servers and applications

CVE-2011-4944

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.

Severity
Low 1.9
Published
27 Aug 2012
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-264
Attack
Needs local access · No login needed
Attacker can
Read some data
CVSS vector
AV:L/AC:M/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • Version 3.2
  • Version 3.2-alpha
  • Version 3.1.2150
  • Version 3.1.5
All 27 release lines
  • Version 2.6.1
  • Version 2.6.2
  • Version 2.6.3
  • Version 2.6.4
  • Version 2.6.5
  • Version 2.6.6
  • Version 2.6.7
  • Version 2.6.8
  • Version 2.6.2150
  • Version 2.6.6150
  • Version 2.7.1-rc1
  • Version 2.7.1
  • Version 2.7.2-rc1
  • Version 2.7.3
  • Version 2.7.1150
  • Version 2.7.2150
  • Version 3.0
  • Version 3.0.1
  • Version 3.1
  • Version 3.1.1
  • Version 3.1.2
  • Version 3.1.3
  • Version 3.1.4
  • Version 3.1.5
  • Version 3.1.2150
  • Version 3.2-alpha
  • Version 3.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2011-4944
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2011-4944