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.
CVE-2011-1521
- No confirmed exploitation signals yet
A fix is available — apply it.
- CVSS v3
- —
- EG Score
- 0.0(none)
- EPSS
- 89.9%
- KEV
- Not listed
Published
May 24, 2011
Last Modified
April 29, 2026
References (52)
- cve@mitrehttp://bugs.python.org/issue11662
- cve@mitrehttp://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS
- cve@mitrehttp://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS
- cve@mitrehttp://hg.python.org/cpython/rev/96a6c128822b/
- cve@mitrehttp://hg.python.org/cpython/rev/b2934d98dac1/
- cve@mitrehttp://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- cve@mitrehttp://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html
- cve@mitrehttp://openwall.com/lists/oss-security/2011/03/24/5
- cve@mitrehttp://openwall.com/lists/oss-security/2011/03/28/2
- cve@mitrehttp://openwall.com/lists/oss-security/2011/09/11/1
- cve@mitrehttp://openwall.com/lists/oss-security/2011/09/13/2
- cve@mitrehttp://openwall.com/lists/oss-security/2011/09/15/5
- cve@mitrehttp://secunia.com/advisories/50858
- cve@mitrehttp://secunia.com/advisories/51024
- cve@mitrehttp://secunia.com/advisories/51040
Vendor Advisories for CVE-2011-1521(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2011:0554Red Hat Product SecurityMedium
Red Hat Security Advisory: python security, bug fix, and enhancement update
- RHSA-2011:0491Red Hat Product SecurityMedium
Red Hat Security Advisory: python security update
- RHSA-2011:0492Red Hat Product SecurityMedium
Red Hat Security Advisory: python security update
Patch Availability(8)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python2.7 (2.7.2-5ubuntu1.1) @ oneiric | 2026-05-29 | ubuntu |
| ubuntu | python2.4 (2.4.5-1ubuntu4.4) @ hardy | 2026-05-29 | ubuntu |
| ubuntu | python2.6 (2.6.7-4ubuntu1.1) @ oneiric | 2026-05-29 | ubuntu |
| ubuntu | python2.5 (2.5.2-2ubuntu6.2) @ hardy | 2026-05-29 | ubuntu |
| ubuntu | python3.2-minimal (3.2-1ubuntu1.1) @ natty | 2026-05-29 | ubuntu |
| redhat | python-docs-0:2.6.6-2.el6 | 2011-05-19 | redhat |
| redhat | python-0:2.4.3-44.el5 | 2011-05-05 | redhat |
| redhat | python-0:2.3.4-14.10.el4 | 2011-05-05 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Additional Vendor Advisories
(5)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 11× in last 7d / 46× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:23 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-05 19:59 UTCOSV refresh
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-04 06:27 UTCEPSS rescore
- 2026-07-02 14:01 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 14:03 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
Show 64 moreShow fewer
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 07:13 UTCOSV refresh
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-11 13:56 UTCEPSS rescore
- 2026-06-10 22:14 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:07 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-29 07:55 UTCEG score recompute
- 2026-05-29 07:55 UTCVendor advisory
- 2026-05-29 07:55 UTCGHSA enrichment
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-24 16:43 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Related CVEs(same vendor)
Frequently asked(4)
What is CVE-2011-1521?
When was CVE-2011-1521 disclosed?
Is CVE-2011-1521 actively exploited?
How do I remediate CVE-2011-1521?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2011-1521
Is Your Infrastructure Affected by CVE-2011-1521?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.