CVEvulnerability
CVE-2011-1521
6.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2011-05-24
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.4 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:P
- Weaknesses
- CWE-399
Description
The urllib and urllib2 modules in Python 2.x before 2.7.2 and 3.x before 3.2.1 process Location headers that specify redirection to file: URLs, which makes it easier for remote attackers to obtain sensitive information or cause a denial of service (resource consumption) via a crafted URL, as demonstrated by the file:///etc/passwd and file:///dev/zero URLs.
Affected configurations
• python python 2.0
• python python 2.0.1
• python python 2.1
• python python 2.1.1
• python python 2.1.2
• python python 2.1.3
• python python 2.2
• python python 2.2.1
• python python 2.2.2
• python python 2.2.3
• python python 2.3.1
• python python 2.3.2
• python python 2.3.3
• python python 2.3.4
• python python 2.3.5
• python python 2.3.7
• python python 2.4.1
• python python 2.4.2
• python python 2.4.3
• python python 2.4.4
• python python 2.4.6
• python python 2.5.1
• python python 2.5.2
• python python 2.5.3
• python python 2.5.4
• python python 2.6.1
• python python 2.6.4
• python python 2.6.5
• python python 2.6.6
• python python 2.6.7
• python python 2.7.1
• python python 3.0
• python python 3.0.1
• python python 3.1
• python python 3.1.1
• python python 3.1.2
• python python 3.1.3
• python python 3.2
Related
Weakness · not in database (1)
References
- http://bugs.python.org/issue11662 Patch
- http://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS hg.python.org
- http://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS hg.python.org
- http://hg.python.org/cpython/rev/96a6c128822b/ Patch
- http://hg.python.org/cpython/rev/b2934d98dac1/ Patch
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html lists.apple.com
- http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html lists.opensuse.org
- http://openwall.com/lists/oss-security/2011/03/24/5 openwall.com
- http://openwall.com/lists/oss-security/2011/03/28/2 openwall.com
- http://openwall.com/lists/oss-security/2011/09/11/1 openwall.com
- http://openwall.com/lists/oss-security/2011/09/13/2 openwall.com
- http://openwall.com/lists/oss-security/2011/09/15/5 openwall.com
- http://secunia.com/advisories/50858 secunia.com
- http://secunia.com/advisories/51024 secunia.com
- http://secunia.com/advisories/51040 secunia.com
- http://securitytracker.com/id?1025488 securitytracker.com
- http://support.apple.com/kb/HT5002 support.apple.com
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:096 www.mandriva.com
- http://www.ubuntu.com/usn/USN-1592-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1596-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1613-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1613-2 www.ubuntu.com
- https://bugzilla.redhat.com/show_bug.cgi?id=690560 Patch
- https://bugzilla.redhat.com/show_bug.cgi?id=737366 bugzilla.redhat.com
- https://www.djangoproject.com/weblog/2011/sep/09/ www.djangoproject.com
- https://www.djangoproject.com/weblog/2011/sep/10/127/ www.djangoproject.com
- http://bugs.python.org/issue11662 Patch
- http://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS hg.python.org
- http://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS hg.python.org
- http://hg.python.org/cpython/rev/96a6c128822b/ Patch
- http://hg.python.org/cpython/rev/b2934d98dac1/ Patch
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html lists.apple.com
- http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html lists.opensuse.org
- http://openwall.com/lists/oss-security/2011/03/24/5 openwall.com
- http://openwall.com/lists/oss-security/2011/03/28/2 openwall.com
- http://openwall.com/lists/oss-security/2011/09/11/1 openwall.com
- http://openwall.com/lists/oss-security/2011/09/13/2 openwall.com
- http://openwall.com/lists/oss-security/2011/09/15/5 openwall.com
- http://secunia.com/advisories/50858 secunia.com
- http://secunia.com/advisories/51024 secunia.com
- http://secunia.com/advisories/51040 secunia.com
- http://securitytracker.com/id?1025488 securitytracker.com
- http://support.apple.com/kb/HT5002 support.apple.com
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:096 www.mandriva.com
- http://www.ubuntu.com/usn/USN-1592-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1596-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1613-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1613-2 www.ubuntu.com
- https://bugzilla.redhat.com/show_bug.cgi?id=690560 Patch
- https://bugzilla.redhat.com/show_bug.cgi?id=737366 bugzilla.redhat.com
- https://www.djangoproject.com/weblog/2011/sep/09/ www.djangoproject.com
- https://www.djangoproject.com/weblog/2011/sep/10/127/ www.djangoproject.com