CVE-2011-4944
python: distutils creates ~/.pypirc insecurely
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Python v2.6 a través de 3.2 crea ~/.pypirc con permisos de lectura en todo el mundo antes de cambiar los datos que se han escrito, introduce una condición de carrera que permite a usuarios locales obtener un nombre de usuario y contraseña mediante la lectura de este archivo.
Multiple vulnerabilities has been discovered and corrected in python. The _ssl module would always disable the CBC IV attack countermeasure. A flaw was found in the way the Python SimpleHTTPServer module generated directory listings. An attacker able to upload a file with a specially-crafted name to a server could possibly perform a cross-site scripting attack against victims visiting a listing page generated by SimpleHTTPServer, for a directory containing the crafted file. A race condition was found in the way the Python distutils module set file permissions during the creation of the.pypirc file. Various other issues were also addressed.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2011-12-23 CVE Reserved
- 2012-06-18 CVE Published
- 2024-08-07 CVE Updated
- 2025-05-21 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-264: Permissions, Privileges, and Access Controls
CAPEC
References (21)
URL | Tag | Source |
---|---|---|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555 | X_refsource_misc | |
http://bugs.python.org/file23824/pypirc-secure.diff | X_refsource_confirm | |
http://bugs.python.org/issue13512 | X_refsource_confirm | |
http://secunia.com/advisories/50858 | Third Party Advisory | |
http://secunia.com/advisories/51024 | Third Party Advisory | |
http://secunia.com/advisories/51040 | Third Party Advisory | |
http://secunia.com/advisories/51087 | Third Party Advisory | |
http://secunia.com/advisories/51089 | Third Party Advisory | |
http://www.openwall.com/lists/oss-security/2012/03/27/10 | Mailing List |
|
http://www.openwall.com/lists/oss-security/2012/03/27/2 | Mailing List |
|
http://www.openwall.com/lists/oss-security/2012/03/27/5 | Mailing List |
|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html | 2019-10-25 | |
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html | 2019-10-25 | |
http://www.ubuntu.com/usn/USN-1592-1 | 2019-10-25 | |
http://www.ubuntu.com/usn/USN-1596-1 | 2019-10-25 | |
http://www.ubuntu.com/usn/USN-1613-1 | 2019-10-25 | |
http://www.ubuntu.com/usn/USN-1613-2 | 2019-10-25 | |
http://www.ubuntu.com/usn/USN-1615-1 | 2019-10-25 | |
http://www.ubuntu.com/usn/USN-1616-1 | 2019-10-25 | |
https://bugzilla.redhat.com/show_bug.cgi?id=758905 | 2012-06-18 | |
https://access.redhat.com/security/cve/CVE-2011-4944 | 2012-06-18 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.6.1 Search vendor "Python" for product "Python" and version "2.6.1" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.6.2 Search vendor "Python" for product "Python" and version "2.6.2" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.6.3 Search vendor "Python" for product "Python" and version "2.6.3" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.6.4 Search vendor "Python" for product "Python" and version "2.6.4" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.6.5 Search vendor "Python" for product "Python" and version "2.6.5" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.6.6 Search vendor "Python" for product "Python" and version "2.6.6" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.6.7 Search vendor "Python" for product "Python" and version "2.6.7" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.6.8 Search vendor "Python" for product "Python" and version "2.6.8" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.6.2150 Search vendor "Python" for product "Python" and version "2.6.2150" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.6.6150 Search vendor "Python" for product "Python" and version "2.6.6150" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.7.1 Search vendor "Python" for product "Python" and version "2.7.1" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.7.1 Search vendor "Python" for product "Python" and version "2.7.1" | rc1 |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.7.2 Search vendor "Python" for product "Python" and version "2.7.2" | rc1 |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.7.3 Search vendor "Python" for product "Python" and version "2.7.3" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.7.1150 Search vendor "Python" for product "Python" and version "2.7.1150" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.7.1150 Search vendor "Python" for product "Python" and version "2.7.1150" | x64 |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 2.7.2150 Search vendor "Python" for product "Python" and version "2.7.2150" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.0 Search vendor "Python" for product "Python" and version "3.0" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.0.1 Search vendor "Python" for product "Python" and version "3.0.1" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.1 Search vendor "Python" for product "Python" and version "3.1" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.1.1 Search vendor "Python" for product "Python" and version "3.1.1" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.1.2 Search vendor "Python" for product "Python" and version "3.1.2" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.1.3 Search vendor "Python" for product "Python" and version "3.1.3" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.1.4 Search vendor "Python" for product "Python" and version "3.1.4" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.1.5 Search vendor "Python" for product "Python" and version "3.1.5" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.1.2150 Search vendor "Python" for product "Python" and version "3.1.2150" | x64 |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.2 Search vendor "Python" for product "Python" and version "3.2" | - |
Affected
| ||||||
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | 3.2 Search vendor "Python" for product "Python" and version "3.2" | alpha |
Affected
|