Skip to content

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: URLs, which makes it easier for remote attackers to obtain sen...

MediumCVSS 6.4 EPSS 3.6%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
python = 2.0 No fix listed
python = 2.0.1 No fix listed
python = 2.1 No fix listed
python = 2.1.1 No fix listed
python = 2.1.2 No fix listed
python = 2.1.3 No fix listed
python = 2.2 No fix listed
python = 2.2.1 No fix listed
python = 2.2.2 No fix listed
python = 2.2.3 No fix listed
python = 2.3.1 No fix listed
python = 2.3.2 No fix listed
python = 2.3.3 No fix listed
python = 2.3.4 No fix listed
python = 2.3.5 No fix listed
python = 2.3.7 No fix listed
python = 2.4.1 No fix listed
python = 2.4.2 No fix listed
python = 2.4.3 No fix listed
python = 2.4.4 No fix listed
python = 2.4.6 No fix listed
python = 2.5.1 No fix listed
python = 2.5.2 No fix listed
python = 2.5.3 No fix listed
python = 2.5.4 No fix listed
Show 15 more
ProductAffected versionsFixed in
python = 2.6.1 No fix listed
python = 2.6.4 No fix listed
python = 2.6.5 No fix listed
python = 2.6.6 No fix listed
python = 2.6.7 No fix listed
python = 2.7.1 No fix listed
python = 3.0 No fix listed
python = 3.0.1 No fix listed
python = 3.1 No fix listed
python = 3.1.1 No fix listed
python = 3.1.2 No fix listed
python = 3.1.3 No fix listed
python = 3.2 No fix listed
python = 3.2-alpha No fix listed
debian/python2.7(Debian:11) < 2.7.1-7 2.7.1-7

References