Live threats

All CVEs / Python

CVE-2011-4944Python

Low 1.9

Priority
11
CVSS 2.0
1.9
EPSS
0.4%
probability of exploitation in 30 days · percentile 29
Auth required
Yes
Published
Aug 27, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:L/AC:M/Au:N/C:P/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.

Affected products (CPE)

VendorProductVersions
pythonpython2.6.1
pythonpython2.6.2
pythonpython2.6.3
pythonpython2.6.4
pythonpython2.6.5
pythonpython2.6.6
pythonpython2.6.7
pythonpython2.6.8
pythonpython2.6.2150
pythonpython2.6.6150
pythonpython2.7.1
pythonpython2.7.1
pythonpython2.7.2
pythonpython2.7.3
pythonpython2.7.1150
pythonpython2.7.1150
pythonpython2.7.2150
pythonpython3.0
pythonpython3.0.1
pythonpython3.1
pythonpython3.1.1
pythonpython3.1.2
pythonpython3.1.3
pythonpython3.1.4
pythonpython3.1.5
pythonpython3.1.2150
pythonpython3.2
pythonpython3.2

Official sources

References

Links published by the sources. Open them with care.