CVE-2011-4944
Published: 27 August 2012
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.
Priority
Status
Package | Release | Status |
---|---|---|
python2.4 Launchpad, Ubuntu, Debian |
Upstream |
Needed
|
python2.5 Launchpad, Ubuntu, Debian |
Upstream |
Needed
|
python2.6 Launchpad, Ubuntu, Debian |
Upstream |
Needed
|
Patches: Upstream: http://bugs.python.org/file23824/pypirc-secure.diff |
||
python2.7 Launchpad, Ubuntu, Debian |
Upstream |
Pending
(2.7.3~rc2-2)
|
Patches: Upstream: http://hg.python.org/cpython/rev/f833e7ec4de1/ |
||
python3.1 Launchpad, Ubuntu, Debian |
Upstream |
Needed
|
Patches: Upstream: http://bugs.python.org/file23824/pypirc-secure.diff |
||
python3.2 Launchpad, Ubuntu, Debian |
Upstream |
Needed
|
Patches: Upstream: http://bugs.python.org/file23824/pypirc-secure.diff |
||
python3.3 Launchpad, Ubuntu, Debian |
Upstream |
Needed
|
Patches: Upstream: http://bugs.python.org/file23.34/pypirc-secure.diff |
Notes
Author | Note |
---|---|
tyhicks | Code in Lib/distutils/command/register.py in 2.4 and 2.5 |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4944
- http://www.openwall.com/lists/oss-security/2012/03/27
- https://usn.ubuntu.com/usn/usn-1592-1
- https://usn.ubuntu.com/usn/usn-1596-1
- https://usn.ubuntu.com/usn/usn-1613-1
- https://usn.ubuntu.com/usn/usn-1613-2
- https://usn.ubuntu.com/usn/usn-1615-1
- https://usn.ubuntu.com/usn/usn-1616-1
- NVD
- Launchpad
- Debian