Back
CVE-2011-1521
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:…
Medium6.4EPSS 3.6%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
- EPSS (exploitation in 30 days)
- 3.6% · top 11% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Weakness
Affected products
n/a
- affected n/a
References (26)
- [oss-security] 20110916 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- MDVSA-2011:096 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- SUSE-SR:2011:009 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://hg.python.org/cpython/rev/b2934d98dac1/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-1592-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://hg.python.org/cpython/rev/96a6c128822b/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- 51040 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 50858 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- APPLE-SA-2011-10-12-3 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- http://bugs.python.org/issue11662 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20110324 CVE Request -- Python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20110328 Re: CVE Request -- Python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 1025488 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- http://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=690560 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=737366 (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-1596-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20110911 CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-1613-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://support.apple.com/kb/HT5002 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.djangoproject.com/weblog/2011/sep/10/127/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- 51024 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- USN-1613-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- [oss-security] 20110913 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.djangoproject.com/weblog/2011/sep/09/ (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2011-1521)Record last updated .