CVE-2011-1521

N/A Unknown
Published: May 24, 2011 Modified: April 29, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://bugs.python.org/issue11662
Source: cve@mitre.org
Patch
http://bugs.python.org/issue11662
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS
Source: af854a3a-2127-422b-91ae-364da2661108
http://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS
Source: af854a3a-2127-422b-91ae-364da2661108
http://hg.python.org/cpython/rev/96a6c128822b/
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://hg.python.org/cpython/rev/b2934d98dac1/
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://openwall.com/lists/oss-security/2011/03/24/5
Source: af854a3a-2127-422b-91ae-364da2661108
http://openwall.com/lists/oss-security/2011/03/28/2
Source: af854a3a-2127-422b-91ae-364da2661108
http://openwall.com/lists/oss-security/2011/09/11/1
Source: af854a3a-2127-422b-91ae-364da2661108
http://openwall.com/lists/oss-security/2011/09/13/2
Source: af854a3a-2127-422b-91ae-364da2661108
http://openwall.com/lists/oss-security/2011/09/15/5
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/50858
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/51024
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/51040
Source: af854a3a-2127-422b-91ae-364da2661108
http://securitytracker.com/id?1025488
Source: af854a3a-2127-422b-91ae-364da2661108
http://support.apple.com/kb/HT5002
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.mandriva.com/security/advisories?name=MDVSA-2011:096
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ubuntu.com/usn/USN-1592-1
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ubuntu.com/usn/USN-1596-1
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ubuntu.com/usn/USN-1613-1
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ubuntu.com/usn/USN-1613-2
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugzilla.redhat.com/show_bug.cgi?id=690560
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
https://bugzilla.redhat.com/show_bug.cgi?id=737366
Source: af854a3a-2127-422b-91ae-364da2661108
https://www.djangoproject.com/weblog/2011/sep/09/
Source: af854a3a-2127-422b-91ae-364da2661108
https://www.djangoproject.com/weblog/2011/sep/10/127/
Source: af854a3a-2127-422b-91ae-364da2661108

52 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
4.3%
90th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

python