CVE-2011-1521
Summary
| CVE | CVE-2011-1521 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2011-05-24 23:55:02 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
NoneAvailability
PartialAV:N/AC:L/Au:N/C:P/I:N/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Python | Python | 2.0 | All | All | All |
| Application | Python | Python | 2.0.1 | All | All | All |
| Application | Python | Python | 2.1 | All | All | All |
| Application | Python | Python | 2.1.1 | All | All | All |
| Application | Python | Python | 2.1.2 | All | All | All |
| Application | Python | Python | 2.1.3 | All | All | All |
| Application | Python | Python | 2.2 | All | All | All |
| Application | Python | Python | 2.2.1 | All | All | All |
| Application | Python | Python | 2.2.2 | All | All | All |
| Application | Python | Python | 2.2.3 | All | All | All |
| Application | Python | Python | 2.3.1 | All | All | All |
| Application | Python | Python | 2.3.2 | All | All | All |
| Application | Python | Python | 2.3.3 | All | All | All |
| Application | Python | Python | 2.3.4 | All | All | All |
| Application | Python | Python | 2.3.5 | All | All | All |
| Application | Python | Python | 2.3.7 | All | All | All |
| Application | Python | Python | 2.4.1 | All | All | All |
| Application | Python | Python | 2.4.2 | All | All | All |
| Application | Python | Python | 2.4.3 | All | All | All |
| Application | Python | Python | 2.4.4 | All | All | All |
| Application | Python | Python | 2.4.6 | All | All | All |
| Application | Python | Python | 2.5.1 | All | All | All |
| Application | Python | Python | 2.5.2 | All | All | All |
| Application | Python | Python | 2.5.3 | All | All | All |
| Application | Python | Python | 2.5.4 | All | All | All |
| Application | Python | Python | 2.6.1 | All | All | All |
| Application | Python | Python | 2.6.4 | All | All | All |
| Application | Python | Python | 2.6.5 | All | All | All |
| Application | Python | Python | 2.6.6 | All | All | All |
| Application | Python | Python | 2.6.7 | All | All | All |
| Application | Python | Python | 2.7.1 | All | All | All |
| Application | Python | Python | 3.0 | All | All | All |
| Application | Python | Python | 3.0.1 | All | All | All |
| Application | Python | Python | 3.1 | All | All | All |
| Application | Python | Python | 3.1.1 | All | All | All |
| Application | Python | Python | 3.1.2 | All | All | All |
| Application | Python | Python | 3.1.3 | All | All | All |
| Application | Python | Python | 3.2 | All | All | All |
| Application | Python | Python | 3.2 | alpha | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| USN-1613-2: Python 2.4 vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| Security Advisory SA50858 - Ubuntu update for python - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Support / Security / Advisories / / MDVSA-2011:096 | Mandriva | af854a3a-2127-422b-91ae-364da2661108 | www.mandriva.com | |
| cpython: b2934d98dac1 Misc/NEWS | af854a3a-2127-422b-91ae-364da2661108 | hg.python.org | |
| Python urllib Redirection Flaw Lets Remote Servers Deny Service and Obtain Files - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | securitytracker.com | |
| cpython: b2934d98dac1 | af854a3a-2127-422b-91ae-364da2661108 | hg.python.org | Patch |
| cpython: 96a6c128822b | af854a3a-2127-422b-91ae-364da2661108 | hg.python.org | Patch |
| September 9 | Weblog | Django | af854a3a-2127-422b-91ae-364da2661108 | www.djangoproject.com | |
| USN-1613-1: Python 2.5 vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| Bug 737366 – CVE-2011-4136 CVE-2011-4137 CVE-2011-4138 CVE-2011-4139 CVE-2011-4140 Django: v1.3.1, v1.2.7 multiple security flaws | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| [security-announce] SUSE Security Summary Report: SUSE-SR:2011:009 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| APPLE-SA-2011-10-12-3 OS X Lion v10.7.2 and Security Update 2011-006 | af854a3a-2127-422b-91ae-364da2661108 | lists.apple.com | |
| USN-1592-1: Python 2.7 vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| Security Advisory SA51024 - Ubuntu update for python2.5 - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Security Advisory SA51040 - Ubuntu update for python2.4 - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| oss-security - Re: CVE Request -- Python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| Bug 690560 – CVE-2011-1521 python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes (Issue #11662) | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Patch |
| About the security content of OS X Lion v10.7.2 and Security Update 2011-006 | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | |
| oss-security - CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| Django | Weblog | Django 1.2.7 released | af854a3a-2127-422b-91ae-364da2661108 | www.djangoproject.com | |
| oss-security - Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| Issue 11662: Redirect vulnerability in urllib/urllib2 - Python tracker | af854a3a-2127-422b-91ae-364da2661108 | bugs.python.org | Patch |
| cpython: 96a6c128822b Misc/NEWS | af854a3a-2127-422b-91ae-364da2661108 | hg.python.org | |
| USN-1596-1: Python 2.6 vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| oss-security - CVE Request -- Python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| oss-security - Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.