{"id":"CVE-2011-4944","state":"PUBLISHED","title":"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","description":"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.","publishedAt":"2012-08-27T23:00:00.000Z","updatedAt":"2024-08-07T00:23:38.938Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.ubuntu.com/usn/USN-1615-1","http://secunia.com/advisories/51087","http://www.openwall.com/lists/oss-security/2012/03/27/2","http://www.ubuntu.com/usn/USN-1592-1","http://www.openwall.com/lists/oss-security/2012/03/27/5","https://bugzilla.redhat.com/show_bug.cgi?id=758905","http://www.ubuntu.com/usn/USN-1616-1","http://secunia.com/advisories/51040","http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555","http://bugs.python.org/file23824/pypirc-secure.diff","http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html","http://secunia.com/advisories/50858","http://secunia.com/advisories/51089","http://www.openwall.com/lists/oss-security/2012/03/27/10","http://bugs.python.org/issue13512","http://www.ubuntu.com/usn/USN-1596-1","http://www.ubuntu.com/usn/USN-1613-2","http://secunia.com/advisories/51024","http://www.ubuntu.com/usn/USN-1613-1","http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:05.264Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2011/4xxx/CVE-2011-4944.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2011-4944","state":"PUBLISHED","datePublished":"2012-08-27T23:00:00.000Z","dateUpdated":"2024-08-07T00:23:38.938Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2011-12-23T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.ubuntu.com/usn/USN-1615-1","name":"USN-1615-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://secunia.com/advisories/51087","name":"51087","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/27/2","name":"[oss-security] 20120327 CVE request: distutils creates ~/.pypirc insecurely","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.ubuntu.com/usn/USN-1592-1","name":"USN-1592-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/27/5","name":"[oss-security] 20120327 Re: CVE request: distutils creates ~/.pypirc insecurely","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=758905","tags":["x_refsource_MISC"]},{"url":"http://www.ubuntu.com/usn/USN-1616-1","name":"USN-1616-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://secunia.com/advisories/51040","name":"51040","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555","tags":["x_refsource_MISC"]},{"url":"http://bugs.python.org/file23824/pypirc-secure.diff","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html","name":"APPLE-SA-2013-10-22-3","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://secunia.com/advisories/50858","name":"50858","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/51089","name":"51089","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/27/10","name":"[oss-security] 20120327 Re: CVE request: distutils creates ~/.pypirc insecurely","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://bugs.python.org/issue13512","tags":["x_refsource_CONFIRM"]},{"url":"http://www.ubuntu.com/usn/USN-1596-1","name":"USN-1596-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/USN-1613-2","name":"USN-1613-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://secunia.com/advisories/51024","name":"51024","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ubuntu.com/usn/USN-1613-1","name":"USN-1613-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","name":"openSUSE-SU-2020:0086","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2020-01-21T21:06:20.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2011-11-30T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.ubuntu.com/usn/USN-1615-1","name":"USN-1615-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://secunia.com/advisories/51087","name":"51087","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/27/2","name":"[oss-security] 20120327 CVE request: distutils creates ~/.pypirc insecurely","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1592-1","name":"USN-1592-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/27/5","name":"[oss-security] 20120327 Re: CVE request: distutils creates ~/.pypirc insecurely","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=758905","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1616-1","name":"USN-1616-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://secunia.com/advisories/51040","name":"51040","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://bugs.python.org/file23824/pypirc-secure.diff","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html","name":"APPLE-SA-2013-10-22-3","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://secunia.com/advisories/50858","name":"50858","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/51089","name":"51089","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/27/10","name":"[oss-security] 20120327 Re: CVE request: distutils creates ~/.pypirc insecurely","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://bugs.python.org/issue13512","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1596-1","name":"USN-1596-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1613-2","name":"USN-1613-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://secunia.com/advisories/51024","name":"51024","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1613-1","name":"USN-1613-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","name":"openSUSE-SU-2020:0086","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T00:23:38.938Z"}}]}}}