CVE-2011-1521
publishedurllib2): Improper management of ftp:// and file:// URL schemes (Issue #11662)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | squeeze | python2.6 | Advisory build | 2.6.6-8+deb6u1 | DLA-25-1 |
| Oracle Linux | 6 | pythoni686 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Red Hat Enterprise Linux | RHEL-4 | pythoni386 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Oracle Linux | 6 | pythonx86_64 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | python-develi686 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | python-develx86_64 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | python-docsi686 | Advisory build | 0:2.6.6-2.el6 | ELSA-2011-0554 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | python-docssparc64 | Advisory build | 0:2.6.6-2.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | python-docsx86_64 | Advisory build | 0:2.6.6-2.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | python-libsi686 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | python-libsx86_64 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | python-testi686 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | python-testx86_64 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | python-toolsi686 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | python-toolsx86_64 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | tkinteri686 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Oracle Linux | 6 | tkinterx86_64 | Advisory build | 0:2.6.6-20.el6 | ELSA-2011-0554 |
| Red Hat Enterprise Linux | RHEL-4 | pythonia64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | pythonppc | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | pythons390 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | pythons390x | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | pythonsrc | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | pythonx86_64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfoi386 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfoia64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfoppc | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfos390 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfos390x | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfox86_64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-develi386 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-develia64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-develppc | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-devels390 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-devels390x | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-develx86_64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-docsi386 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-docsia64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-docsppc | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-docss390 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-docss390x | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-docsx86_64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolsi386 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolsia64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolsppc | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolss390 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolss390x | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolsx86_64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | tkinteri386 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | tkinteria64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | tkinterppc | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | tkinters390 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | tkinters390x | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-4 | tkinterx86_64 | Advisory build | 2.3.4-14.10.el4 | RHSA-2011:0491 |
| Red Hat Enterprise Linux | RHEL-5 | pythoni386 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | pythonia64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | pythonppc | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | pythons390x | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | pythonsrc | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | pythonx86_64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfoi386 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfoia64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfoppc | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfoppc64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfos390 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfos390x | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfox86_64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-develi386 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-develia64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-develppc | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-develppc64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-devels390 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-devels390x | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-develx86_64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-libsi386 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-libsia64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-libsppc | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-libsppc64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-libss390x | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-libsx86_64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-toolsi386 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-toolsia64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-toolsppc | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-toolss390x | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | python-toolsx86_64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | tkinteri386 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | tkinteria64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | tkinterppc | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | tkinters390x | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-5 | tkinterx86_64 | Advisory build | 2.4.3-44.el5 | RHSA-2011:0492 |
| Red Hat Enterprise Linux | RHEL-6 | pythoni686 | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
| Red Hat Enterprise Linux | RHEL-6 | pythonppc64 | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
| Red Hat Enterprise Linux | RHEL-6 | pythons390x | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
| Red Hat Enterprise Linux | RHEL-6 | pythonsrc | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
| Red Hat Enterprise Linux | RHEL-6 | pythonx86_64 | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
| Red Hat Enterprise Linux | RHEL-6 | python-debuginfoi686 | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
| Red Hat Enterprise Linux | RHEL-6 | python-debuginfoppc64 | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
| Red Hat Enterprise Linux | RHEL-6 | python-debuginfos390x | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
| Red Hat Enterprise Linux | RHEL-6 | python-debuginfox86_64 | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
| Red Hat Enterprise Linux | RHEL-6 | python-develi686 | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
| Red Hat Enterprise Linux | RHEL-6 | python-develppc64 | Advisory build | 2.6.6-20.el6 | RHSA-2011:0554 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
26- http://bugs.python.org/issue11662
- http://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS
- http://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS
- http://hg.python.org/cpython/rev/96a6c128822b/
- http://hg.python.org/cpython/rev/b2934d98dac1/
- APPLE-SA-2011-10-12-3 http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- SUSE-SR:2011:009 http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html
- [oss-security] 20110324 CVE Request -- Python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes http://openwall.com/lists/oss-security/2011/03/24/5
- [oss-security] 20110328 Re: CVE Request -- Python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes http://openwall.com/lists/oss-security/2011/03/28/2
- [oss-security] 20110911 CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws http://openwall.com/lists/oss-security/2011/09/11/1
- [oss-security] 20110913 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws http://openwall.com/lists/oss-security/2011/09/13/2
- [oss-security] 20110916 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws http://openwall.com/lists/oss-security/2011/09/15/5
- 50858 http://secunia.com/advisories/50858
- 51024 http://secunia.com/advisories/51024
- 51040 http://secunia.com/advisories/51040
- 1025488 http://securitytracker.com/id?1025488
- http://support.apple.com/kb/HT5002
- MDVSA-2011:096 http://www.mandriva.com/security/advisories?name=MDVSA-2011:096
- USN-1592-1 http://www.ubuntu.com/usn/USN-1592-1
- USN-1596-1 http://www.ubuntu.com/usn/USN-1596-1
- USN-1613-1 http://www.ubuntu.com/usn/USN-1613-1
- USN-1613-2 http://www.ubuntu.com/usn/USN-1613-2
- https://bugzilla.redhat.com/show_bug.cgi?id=690560
- https://bugzilla.redhat.com/show_bug.cgi?id=737366
- https://www.djangoproject.com/weblog/2011/sep/09/
- https://www.djangoproject.com/weblog/2011/sep/10/127/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1c729acc1342e4f752611dba8118f46d6d0c209833389038907087b69777ab47
- Ingested
- 23 Sep 2026, 07:38:59 UTC
- Source record
- Official CVE record